Corrupted repositories on NFS
Nicolas Dumazet
nicdumz at gmail.com
Mon Nov 29 18:28:55 CST 2010
2010/11/30 Matt Mackall <mpm at selenic.com>:
> On Tue, 2010-11-30 at 09:05 +0900, Nicolas Dumazet wrote:
>> Note:
>> add() holds a lock before walking the repository, while addremove()
>> requires a lock only to perform the actual wctx changes. Why is that?
>
> Actually, it looks like neither actually grabs the lock before calling
> walk. Possibly both are wrong.
add grabs a lock in commands.add
--
Nicolas Dumazet — NicDumZ
More information about the Mercurial-devel
mailing list