[PATCH 3 of 5] change the dirstate wlock pattern in localrepo

Benoit Boissinot benoit.boissinot at ens-lyon.org
Mon Apr 20 15:55:54 CDT 2009


On Mon, Apr 20, 2009 at 10:49:32PM +0200, Dirkjan Ochtman wrote:
> On 20/04/2009 21:50, Ronny Pfannschmidt wrote:
> > i don't understand the orginal reason for doing it this way
> 
> Being able to catch LockErrors? Why isn't that needed?

The idea is to only update the dirstate if we can take the lock. We
don't have to update the dirstate, it's just nice to do it, so we try :)

regards,

Benoit

-- 
:wq


More information about the Mercurial-devel mailing list