Erik Schnetter
Mon, 21 Nov 2005 23:56:57 -0800
On Nov 21, 2005, at 14:34:45, Juliusz Chroboczek wrote:
is there a way to tell `darcs optimize --relink' to use symbolic linksinstead of hard links?No. There's no way that could work. Under some circumstances, Darcs will change the contents of a file without changing its name. With hard links, the link will be broken in this case, which is The Right Thing; with soft links, there's no way to achieve this effect.
No, darcs will never change the contents of the file. This is a very important property of darcs, and it is what makes hard links safe. A patch, once recorded, is unchanging forever.
Soft links would also work fine. There is only one potential problem with that: if the original repo is deleted, then the soft links will become invalid. The patches are lost. This does not happen with hard links. If you can live with that, then you could use soft links instead.
-erik -- Erik Schnetter <[EMAIL PROTECTED]> My email is as private as my paper mail. I therefore support encrypting and signing email messages. Get my PGP key from www.keyserver.net.
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ darcs-users mailing list darcs-users@darcs.net http://www.abridgegame.org/mailman/listinfo/darcs-users
- [darcs-users] optimize --relink with symbolic links? Eric Knauel
- Re: [darcs-users] optimize --relink with symbolic links? Juliusz Chroboczek
- Re: [darcs-users] optimize --relink with symbolic links? Michael Price
- Re: [darcs-users] optimize --relink with symbolic links? Juliusz Chroboczek
- Re: [darcs-users] optimize --relink with symbolic links? Michael Price
Re: [darcs-users] optimize --relink with symbolic links? Erik Schnetter
- Re: [darcs-users] optimize --relink with symbolic links? Tommy Pettersson
- Re: [darcs-users] optimize --relink with symbolic links? Erik Schnetter
- [darcs-users] Re: optimize --relink with symbolic links? Benedikt Schmidt