[darcs-devel] nolinks argument

quick at sparq.org quick at sparq.org
Mon Jul 2 14:23:56 PDT 2007


Standard darcs operations will attempt to link files between
repositories when those files share locality (and "$ darcs
optimize --relink" explicitly updates these links).

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.

This patch adds a --nolinks argument to get/push/pull that
instructs darcs not to create links during these operations.

Note that an alternative is to hide the locality of the files
by using a different transport (e.g. a get via ssh as in
$ darcs get localhost:/src/repo).  However, empirical testing
showed this to be as much as 3 times slower than direct
filesystem access.



Mon Jun 11 21:15:16 MST 2007  Kevin Quick <quick at sparq.org>
  * Provide [DarcsFlag] command-line options to copyLocal

Wed Jun 13 12:37:42 MST 2007  Kevin Quick <quick at sparq.org>
  * Added --nolinks option to request actual copies instead of hard-links for files.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 71646 bytes
Desc: A darcs patch for your repository!
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20070702/fe6f4e83/attachment-0001.bin


More information about the darcs-devel mailing list