[PATCH 1 of 3] localrepo: reuse parent manifest in commitctx if no files have changed

Benoit Boissinot bboissin at gmail.com
Tue May 3 11:21:44 CDT 2011


On Mon, May 2, 2011 at 7:23 PM, Peter Arrenbrecht
<peter.arrenbrecht at gmail.com> wrote:
> # HG changeset patch
> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
> # Date 1304356829 -7200
> localrepo: reuse parent manifest in commitctx if no files have changed
>
> This speeds up the in-memory version of debugbuilddag that I'm
> working on considerably for the case where we want to build just
> a 00changelog.i (for discovery tests, for instance).
>
> There are a couple of test changes because node ids in tests
> have changed.

I don't understand why they would change, could you explain? (they are
not related to debugbuilddag, right?)

cheers,

Benoit


More information about the Mercurial-devel mailing list