refer to the next changeset?

Roman Neuhauser neuhauser at sigpipe.cz
Fri Jul 25 13:44:47 UTC 2014


# techtonik at gmail.com / 2014-07-25 14:33:18 +0300:
> I want to see what revisions I've just pulled.
> Like 'hg incoming', but after `hg pull'.
> 
>     hg log -r .:
> 
> ^ this does almost what I need, except that
> it includes current changeset. Is there a
> way to HG to start with the next one?

hg help revset

    "x::y"
      A DAG range, meaning all changesets that are descendants of x and
      ancestors of y, including x and y themselves. If the first endpoint is
      left out, this is equivalent to "ancestors(y)", if the second is left
      out it is equivalent to "descendants(x)".

      An alternative syntax is "x..y".

`hg log -r .::` should do what you're after.

-- 
roman



More information about the Mercurial mailing list