[darcs-users] symbolic links
David Roundy
daveroundy at gmail.com
Wed Dec 19 15:51:44 UTC 2007
On Dec 19, 2007 7:51 AM, Keith Browne <tuxedo at funkrehab.com> wrote:
> > If a patch modifying c is pulled into this repo, I would expect ../bar
> > to change, too.
>
> I wouldn't expect that, and in fact when I just tried this with Darcs,
> it pulled the patch, overwrote c, and didn't alter the contents of bar.
> I infer that Darcs isn't opening the file indexed by the inode that
> c points to, then overwriting its contents--it's clobbering c, opening a
> new file named c, and putting the post-patch contents there. That's
> what I'd expect.
Right. And that is because this is the only way to atomically update
a file (under POSIX semantics).
David
More information about the darcs-users
mailing list