Show log in reverse order

Craig McQueen mcqueen-c at edsrd1.yzk.co.jp
Wed Apr 7 22:05:18 CDT 2010


Robert Bauck Hamar wrote:
> *Andrej Mitrovic:
>> Hi,
>>
>> Is there any option to display the log in reverse order than the
>> usual? I'd like to have the latest revisions displayed last while
>> working in console mode. I haven't found any options in hg help / hg
>> log --help.
>
> The hint from "hg help log" might be: "If no revision range is
> specified, the default is tip:0". Combine this with the knowlegde from
> "hg help multirevs". That is:
>
> hg log -r :
>

That's great! Very useful, so thanks.

How about for hg glog? I tried:

hg glog -r :
hg glog -r 0:tip

but it still showed the log with the newest revision at the top.

Regards,
Craig McQueen



More information about the Mercurial mailing list