[darcs-devel] Patch for revert --hard

Dario Meloni mellon85 at gmail.com
Fri Feb 23 11:18:29 PST 2007


Hi,
i have made a patch to add the --hard option to darcs revert
This makes revert work on any file in the directory reverting them  
all and deleting the files not present in the darcs manifest.
It is not so performant (to detect files/dirs which are not in the  
darcs manifest takes n^2), but it can be improved.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: hard.patch
Type: application/octet-stream
Size: 7025 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070223/2cb981c6/hard.obj
-------------- next part --------------

Dario Meloni




More information about the darcs-devel mailing list