[PATCH 2 of 5] graphlog: rewrite --rev like all other options

Patrick Mézard patrick at mezard.eu
Thu Feb 23 11:34:49 CST 2012


Le 23/02/12 18:16, Kevin Bullock a écrit :
> On Feb 23, 2012, at 11:10 AM, Patrick Mezard wrote:
> 
>> # HG changeset patch
>> # User Patrick Mezard <patrick at mezard.eu <mailto:patrick at mezard.eu>>
>> # Date 1329992490 -3600
>> # Node ID e04cc21b01b280e8e93e4566026d37ba0955a19f
>> # Parent  4a828d3bc04a42bdba153dea03233121475418c4
>> graphlog: rewrite --rev like all other options
>>
> […]
> 
>> diff --git a/tests/test-glog.t b/tests/test-glog.t
>> --- a/tests/test-glog.t
>> +++ b/tests/test-glog.t
>> @@ -1486,19 +1486,3 @@
>>   $ hg log -G --follow a
>>   abort: -G/--graph option is incompatible with --follow with file argument
>>   [255]
>> -
>> -Test multiple revision specifications are correctly handled
>> -
>> -  $ hg log -G -r 27 -r 25 -r 21 -r 34 -r 32 -r 31 --template '{rev}\n'
>> -  o  34
>> -  |
>> -  o    32
>> -  |\
>> -  | o    31
>> -  | |\
>> -  o | |  27
>> -  |/ /
>> -  | o  25
>> -  |/
>> -  o    21
>> -  |\
> 
> Why don't we want this test anymore?

Because I wrote a better one that rebase apparently ate for breakfast. Thanks for noticing.

I will wait for Matt to comment on the last patch introducing "_matchfiles()" before resending.

--
Patrick Mézard


More information about the Mercurial-devel mailing list