[darcs-users] optimize --relink with symbolic links?

Michael Price michael at ectospheno.com
Mon Nov 21 22:35:25 UTC 2005


On 11/21/05, Juliusz Chroboczek <Juliusz.Chroboczek at pps.jussieu.fr> wrote:
> > So darcs pretty much has to be unlinking the file and creating a new
> > one with the same name. How does that break with symbolic links?
>
> $ echo hi > a
> $ ln -s a b
> $ cat b
> hi
> $ rm a
> $ echo bye > a
> $ cat b
> bye
> $

Thanks for the description. For those people who prefer english,
deleting the link would be fine. The problem comes when you delete the
original file.

I am enlightened :)

Michael


More information about the darcs-users mailing list