[darcs-devel] darcs patch: extended set-scripts-executable test
(and 1 more)
kow at loria.fr
kow at loria.fr
Sat Dec 10 15:00:29 PST 2005
Sat Dec 10 21:06:15 CET 2005 kow at loria.fr
* extended set-scripts-executable test
added check for local darcs get (issue 38) as well as initial sanity check
Sat Dec 10 22:51:22 CET 2005 kow at loria.fr
* implementation of --set-scripts-executable on local darcs get
proposed fix for issue38
The --set-scripts-executable flag is normally evaluated when you apply
patches. But when you do a local darcs get, no patches are applied.
So as a solution, we traverse the directory on local darcs get , and set
any script files to be executable.
Note: one flaw in this patch is that it duplicates the definition of
what a script is -- a file that starts with #! -- in PatchApply.lhs and
Get.lhs. It might be good to refactor these somehow.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 3680 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20051211/68ffca73/attachment.bin
More information about the darcs-devel
mailing list