question about revset usage

Faheem Mitha faheem at faheem.info
Sun Sep 21 08:45:22 UTC 2014


Hi,

If I use revsets as follows:

faheem at orwell:/usr/local/src/mercurial/hg$  hg log -r 'author(mpm at selenic.com)'

The order of the csets is reversed - the oldest csets are at the top, 
unlike the normal result of `hg log` where the newest csets are at the 
top. I.e.

faheem at orwell:/usr/local/src/mercurial/hg$  hg log -l1 -r 'author(mpm at selenic.com)'
changeset:   0:9117c6561b0b
user:        mpm at selenic.com
date:        Tue May 03 13:16:10 2005 -0800
summary:     Add back links from file revisions to changeset revisions

I rarely use revsets, but in any case, I've not noticed this behavior 
before, nor could I find any documentation about it. I also can't think of 
any good reason for this behavior. If this is correct behavior, and if I 
am not missing something obvious, I suggest it be documented somewhere.

I'm running Mercurial 3.1-1 (backported to Debian wheezy from unstable).

                                                            Regards, Faheem



More information about the Mercurial mailing list