[darcs-devel] nolinks argument
Eric Y. Kow
eric.kow at gmail.com
Tue Jul 3 14:36:30 PDT 2007
I haven't looked at the code yet, but does anyone have objections in
principle?
> Standard darcs operations will attempt to link files between
> repositories when those files share locality (and "$ darcs
> optimize --relink" explicitly updates these links).
Note that these files are darcs's patch files
> However, there are some cases where these links are not
> desireable. Examples include cases where the two repositories
> should have different ownership/file protections, etc.
I think I've seen people bitten by this before, Bob and Alice on the
same file system, Bob does a darcs get of Alice's repository and is
stuck with files he cannot delete in his own directory, or something
like that. Problem is that I don't have a precise example in my head.
Kevin, do you think you could cook up a miminal example of a case where
it would be possible, but not desirable to make the hard link?
> This patch adds a --nolinks argument to get/push/pull that
> instructs darcs not to create links during these operations.
Also, would it be possible for darcs simply to detect those cases, and
not create the links in those cases?
Thanks,
--
Eric Kow http://www.loria.fr/~kow
PGP Key ID: 08AC04F9 Merci de corriger mon français.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070703/897437fb/attachment.pgp
More information about the darcs-devel
mailing list