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.

Attachment: pgplskOwoxnos.pgp
Description: PGP signature

_______________________________________________
darcs-devel mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-devel

Reply via email to