refer to the next changeset?
anatoly techtonik
techtonik at gmail.com
Fri Jul 25 14:04:41 UTC 2014
On Fri, Jul 25, 2014 at 3:34 PM, Simon King <simon at simonking.org.uk> wrote:
> 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 ."
Thanks. Just what I need.
> 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
--
anatoly t.
More information about the Mercurial
mailing list