[PATCH 4 of 5 filtering part 2 V2] clfilter: use filtering in `visibleheads` and `visiblebranchmap`

Pierre-Yves David pierre-yves.david at ens-lyon.org
Sat Dec 15 18:22:53 CST 2012


On 14 déc. 2012, at 19:34, Idan Kamara wrote:

> On Mon, Dec 10, 2012 at 7:30 PM,  <pierre-yves.david at logilab.fr> wrote:
>> # HG changeset patch
>> # User Pierre-Yves David <pierre-yves.david at ens-lyon.org>
>> # Date 1354463434 -3600
>> # Node ID 0ffb3f54b38648807bb24f020db9fbde84615c52
>> # Parent  37c514a7a7d59b318ca066e0c797cfedbfd3dccd
>> clfilter: use filtering in `visibleheads` and `visiblebranchmap`
> 
> I think this patch can be split to 3:
> 
> 1) introduce 'unserved' filter
> 2) use it in visibleheads
> 3) use it in visiblebranchmap

Right, good catch.

>> --- a/tests/test-obsolete.t
>> +++ b/tests/test-obsolete.t
>> @@ -174,10 +174,11 @@ the public changeset
>> And that we can't push bumped changeset
>> 
>>   $ hg push ../tmpa -r 0 --force #(make repo)
>>   pushing to ../tmpa
>>   searching for changes
>> +  warning: repository is unrelated
> 
> What's this?

Expected warning now we have a more correct filtering. See preliminary changeset on the topic.

http://www.selenic.com/hg/rev/42f56a0418b3

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list