Corrupted repositories on NFS

Nicolas Dumazet nicdumz at gmail.com
Mon Nov 29 18:46:57 CST 2010


2010/11/30 Matt Mackall <mpm at selenic.com>:
> On Tue, 2010-11-30 at 09:28 +0900, Nicolas Dumazet wrote:
>> 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

argh, sorry. local changes from yesterday night, when having a look
--late-- at this email.
Forget about me, I'll go back to my cave ;)

-- 
Nicolas Dumazet — NicDumZ


More information about the Mercurial-devel mailing list