after the pull but before the update ...
Robert P. J. Day
rpjday at crashcourse.ca
Wed Oct 7 07:35:26 CDT 2009
On Wed, 7 Oct 2009, Adrian Buehlmann wrote:
> On 07.10.2009 01:09, Adrian Buehlmann wrote:
> > 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
>
> Put the following in your $HOME/.hgrc file:
>
> [alias]
> new = log -P .
>
> and you can just enter 'hg new' instead
yes, that's what i was after, thanks. more silly questions coming
shortly, i suspect.
rday
--
========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA
Linux Consulting, Training and Annoying Kernel Pedantry.
Web page: http://crashcourse.ca
Twitter: http://twitter.com/rpjday
========================================================================
More information about the Mercurial
mailing list