Never mind, I think I found a better way around this problem. On Fri, Dec 18, 2009 at 9:14 PM, Trent W. Buck <[email protected]> wrote: > Thomas Hartman <[email protected]> writes: > >> it would be useful for patch-tag to turn off hard linking for darcs >> storage (in pristine.hashed, patches, and so on). can anyone suggest >> the most straightforward way to do that? > > Why would it be useful? > > A straightforward way would be to place each repository on its own > filesystem, to use a filesystem that doesn't support hard links > (e.g. vfat), or to have a cron job that periodically breaks hard links, > e.g. (untested) > > find _darcs -type f -exec sed -i {} + > > (perl -i and GNU sed -i should do a temporary file dance, which will > indirectly create a new inode and thus break the hard link.) > > _______________________________________________ > darcs-users mailing list > [email protected] > http://lists.osuosl.org/mailman/listinfo/darcs-users >
-- Need somewhere to put your code? http://patch-tag.com Want to build a webapp? http://happstack.com _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
