[PATCH] client: grab the parent revision information from the server in hgclient.log()

Matt Mackall mpm at selenic.com
Tue Oct 30 15:33:29 CDT 2012


On Tue, 2012-10-30 at 11:57 +0200, Idan Kamara wrote:
> On Mon, Oct 29, 2012 at 10:48 PM, Alastair Houghton <
> alastair at alastairs-place.net> wrote:
> >
> > # HG changeset patch
> > # User Alastair Houghton <alastair at coriolis-systems.com>
> > # Date 1351543544 0
> > # Node ID 0886df81888d4bf27d5a69f2a41820cf9fbff347
> > # Parent  86ff8611a8fad14d4c1dba6d75bc26caaa41e951
> > client: grab the parent revision information from the server in
> > hgclient.log()
> 
> It took me a while to realize that {parents} is trying to be smart
> and not always print the parents, which might make sense
> for display purposes, but I'm not sure if it's desirable here.
> 
> Maybe we should be using {p1/2rev} and {p1/2node}?

Not compatible with old hg.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list