[PATCH] treediscovery: fix regression when running tests against older repos

Peter Arrenbrecht peter.arrenbrecht at gmail.com
Thu May 5 05:48:57 CDT 2011


On Thu, May 5, 2011 at 12:40 PM, Adrian Buehlmann <adrian at cadifra.com> wrote:
> On 2011-05-05 08:40, Peter Arrenbrecht wrote:
>> # HG changeset patch
>> # User Peter Arrenbrecht <peter.arrenbrecht at gmail.com>
>> # Date 1304577611 -7200
>> # Branch fix-push
>> # Node ID 03157a52465a8325cc4191ebdc499fbb91232946
>> # Parent  8968e4428dbd83836662612fc948d1b733c08354
>> treediscovery: fix regression when running tests against older repos
>>
>> I ran the entire test suite with "known" and "getbundle" disabled in
>> localrepository. This generated failures because the old findoutgoing
>> had always queried remote's heads explicitly and thus always got them
>> back in the returned heads. treediscovery.findcommonincoming now
>> correctly returns remote's heads in all cases.
>
> This fixes http://mercurial.selenic.com/bts/issue2793 for me, thanks!
>
> I suggest adding "(issue2793)" to the summary line.
>
> Maybe a testcase would be nice too? :-)

Working on exactly that.
-parren


More information about the Mercurial-devel mailing list