
On Sunday 25 March 2007 19:26, Ross Paterson wrote:
One little glitch: several files that are executable in the CVS version aren't in the darcs repo (list with: find -type f -perm -0111).
Hmmm, darcs doesn't seem to handle any kind of meta data: http://darcs.net/DarcsWiki/FrequentlyAskedQuestions#head-f6690ca8f72ee57532b... Experimenting with a local repo, it looks like everything is created 0666 (modulo umask), so I can fix this in the darcs repo, but this won't have any effect on checkouts. GHC's darcs-all suffers from this, too, and nhc98 comes with a 'start' script (which we should probably add, too). Cheers, S.

On Mon, Mar 26, 2007 at 05:18:08PM +0200, Sven Panne wrote:
Hmmm, darcs doesn't seem to handle any kind of meta data:
http://darcs.net/DarcsWiki/FrequentlyAskedQuestions#head-f6690ca8f72ee57532b...
How disappointing. Still, --set-scripts-executable might be enough for us.

Sven Panne
One little glitch: several files that are executable in the CVS version aren't in the darcs repo (list with: find -type f -perm -0111).
Yes, darcs does not normally transmit permissions from repository to repository. However I notice that darcs get --set-script-executable exists since at least 1.0.5. But in any case, the provision of a simple post-checkout shell script to initialise permissions, graft sub-repositories etc, is easy and more fool-proof. Regards, Malcolm
participants (3)
-
Malcolm Wallace
-
Ross Paterson
-
Sven Panne