after the pull but before the update ...
Adrian Buehlmann
adrian at cadifra.com
Tue Oct 6 18:09:23 CDT 2009
On 06.10.2009 20:20, Robert P. J. Day wrote:
> On Tue, 6 Oct 2009, Adrian Buehlmann wrote:
>
>> On 06.10.2009 19:15, Robert P. J. Day wrote:
>>> WRT p. 20 of the hg book, i can see the clear distinction
>>> between doing a pull and doing an update, but is there a command
>>> that will show me that (pulled but not yet updated) content? i'm
>>> sure it will be explained at some point later in the book, but it
>>> would be useful to show how to do that when introducing that
>>> two-phase operation.
>> maybe this could be helpful:
>>
>> hg log -r .:
>>
>> shows all changesets from the range parent..tip
>>
>> http://www.selenic.com/mercurial/hg.1.html#revisions
>
> very close. technically, i was asking for the open interval
> (parent:tip], rather than [parent:tip], but that's close enough,
> thanks.
I just discovered -P (--prune):
-P --prune do not display revision or any of its ancestors
Try:
hg log -P .
Compare:
hg log -r .: -P .
More information about the Mercurial
mailing list