[PATCH] Fix to remove clone lock
Matt Mackall
mpm at selenic.com
Sat Aug 27 16:27:56 CDT 2005
On Sat, Aug 27, 2005 at 09:49:08PM +0100, Stephen Darnell wrote:
> Reviving my win32 hardlink changes, I discovered that the
> new lock gets copied to destination clone, and result
> in subsequent operations blocking.
>
> Attached is a fix. (includes 2 trailing white space changes)
>
> BTW Why does the unix lock code use symlinks rather than
> the regular files (that it drops back to)?
Because you can atomically create the symlink and its contents.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list