On Nov 22, 2005, at 04:33:12, Tommy Pettersson wrote:
On Mon, Nov 21, 2005 at 04:58:36PM -0600, Erik Schnetter wrote:On Nov 21, 2005, at 14:34:45, Juliusz Chroboczek wrote:is there a way to tell `darcs optimize --relink' to use symbolic links instead 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.It's true that darcs doesn't modify the contents of the patch files in _darcs/patches/, but it certainly sometimes removes them and recreates them under the very same names but with slightly different contents.
Interesting. Thanks for the clarification. Since patches are immutable, and since the file names contain time stamps and an MD5 (?) code, I assumed that they would not change. Are you saying I could push a patch to a different repository, and although the "meaning" of the patch stays the same, and its time stamp and checksum doesn't change, the content of the file still can change?
Sorry for creating confusion, -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 [email protected] http://www.abridgegame.org/mailman/listinfo/darcs-users
