[PATCH STABLE?] commit: avoid a dirstate race with multiple commits in the same process

Greg Ward greg at gerg.ca
Tue Mar 15 19:42:10 CDT 2011


On 15 March 2011, Matt Mackall said:
> On Mon, 2011-03-14 at 14:48 -0400, Greg Ward wrote:
> > # HG changeset patch
> > # User Greg Ward <greg-hg at gerg.ca>
> > # Date 1300128285 14400
> > # Branch stable
> > # Node ID 396982a5883383fc043d3f5ad78a0f9f0366bd06
> > # Parent  4bfff063aed6fb4b3c8abe8a9ec51fe1e55725bf
> > commit: avoid a dirstate race with multiple commits in the same process
> > (issue2264, issue2516)
[...]
> 
> I think you're going to need to break this up. There's a lot going on
> here and some of it you haven't told us about. You might start by
> introducing getfstime and we can debate whether that's the right thing.

OK, will do.  The refactoring in dirstate didn't make much sense
without the change to localrepo that uses it, but I suppose that is
the nature of refactoring.  It should be straightforward to split into
2-3 patches.  Will resend.

        Greg
-- 
Greg Ward                                http://www.gerg.ca/
"Very funny, Scotty.  Now beam my *clothes* down."


More information about the Mercurial-devel mailing list