[PATCH] fix bugs in localrepo.branchheads, take 2

Dirkjan Ochtman dirkjan at ochtman.nl
Wed Sep 23 08:53:19 CDT 2009


On Wed, Sep 23, 2009 at 13:20, Sune Foldager <cryo at cyanite.org> wrote:
> # HG changeset patch
> # User Sune Foldager <cryo at cyanite.org>
> # Date 1253704726 -7200
> # Node ID 3cd38e388caaf8168c42b37076c634f784de68d6
> # Parent  a15813fae0a8f414228f9da768c235f9d017ebfa
> localrepo: fix bugs in branchheads and add docstring
>
> 1. The call to reverse() reversed the list in place in the global branchmap.
> 2. The nodesbetween function doesn't preserve ordering.

Pushed to crew-stable w/ added test fix, thanks!

changeset:   9124:c295a82a020b
tag:         tip
user:        Sune Foldager <cryo at cyanite.org>
date:        Wed Sep 23 15:51:36 2009 +0200
summary:     localrepo: fix bugs in branchheads and add docstring

Cheers,

Dirkjan



More information about the Mercurial-devel mailing list