hg history

Matt Mackall mpm at selenic.com
Fri Jul 1 17:07:35 UTC 2005


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.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list