refer to the next changeset?
anatoly techtonik
techtonik at gmail.com
Fri Jul 25 14:00:05 UTC 2014
On Fri, Jul 25, 2014 at 4:44 PM, Roman Neuhauser <neuhauser at sigpipe.cz> wrote:
> # 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.
At first I also thought about that, but this excludes unrelated
changesets from parallel branches.
More information about the Mercurial
mailing list