refer to the next changeset?
Simon King
simon at simonking.org.uk
Fri Jul 25 12:34:01 UTC 2014
On Fri, Jul 25, 2014 at 12:33 PM, anatoly techtonik <techtonik at gmail.com> wrote:
> 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?
>
I don't think there's a single expression, but you can explicitly
exclude the current changeset like this:
hg log -r ".: and not ."
or:
hg log -r "(.:) - ."
You could wrap that up inside a revsetalias:
[revsetalias]
after($1) = $1: and not $1
pulled = after(.)
then use:
hg log -r pulled
Simon
More information about the Mercurial
mailing list