hg command to see the changeset prior to an hg fetch

Posted by Marcus on Stack Overflow See other posts from Stack Overflow or by Marcus
Published on 2011-02-02T22:35:38Z Indexed on 2011/02/03 23:25 UTC
Read the original article Hit count: 368

Filed under:

What mercurial command can you use to see the changeset prior to changeset xyz?

If you do hg log -r :xyz you see all the changesets prior to (and including) xyz - listed in ascending order. But I'd like to easily see just the prior changeset.


Update: Really what I'm after is: If I do an hg fetch, what command can I use to see the changeset PRIOR to the the changesets that were pulled in by the fetch?

hg log -r :xyz where xyz is the first changeset pulled in by the fetch works but it returns the entire list of prior changesets where I just want the most recent.

© Stack Overflow or respective owner

Related posts about mercurial