hg history

Giuseppe Bilotta bilotta78 at hotpop.com
Fri Jul 1 16:05:19 CDT 2005


On Fri, 1 Jul 2005 10:07:35 -0700, Matt Mackall wrote:

> On Fri, Jul 01, 2005 at 08:32:16AM -0400, Kevin Smith wrote:
>> Thomas Arendsen Hein wrote:
>>>Giving longer lists is still possible with more than two -r
>>>arguments, e.g. displaying only tip and 0.6 with:
>>>
>>>hg log -r tip -r tip -r 0.6
>>>       \___range___/
>> 
>> Icky! I really don't like having a series of -r parameters where 
>> alternate ones have different meanings. Pasting and editing a previous 
>> command that worked could get very confusing. Also, there is ambiguity 
>> because I would expect this to give me three independent logs, one for 
>> each of the mentioned revisions:
>>   hg log -r 0.1 -r 0.2 -r 0.3
>> 
>> Perhaps we could use some delimeter so you have something more like:
>>   hg log -r tip:0.6 -r 0.4 -r 0.3:0.2
> 
> The ":" (or just about any alternative) is problematic because it
> means you can't have ":" in tags.

Not that I see that as much of a problem. What about a double hyphen
then? -- is pretty standard for ranges ...

-- 
Giuseppe "Oblomov" Bilotta

Hic manebimus optime



More information about the Mercurial mailing list