[PATCH] parents: provide equivalent revsets in help
Matt Mackall
mpm at selenic.com
Fri Dec 11 17:16:19 CST 2015
On Wed, 2015-12-09 at 12:55 -0500, Augie Fackler wrote:
> On Tue, Dec 08, 2015 at 02:27:18PM -0600, timeless wrote:
> > # HG changeset patch
> > # User timeless <timeless at mozdev.org>
> > # Date 1449606068 0
> > # Tue Dec 08 20:21:08 2015 +0000
> > # Node ID 9ceab36b94f34ac90b0d639f75710bc3d634ce21
> > # Parent 42aa0e570eaa364a622bc4443b0bcb79b1100a58
> > parents: provide equivalent revsets in help
>
> queued, thanks
>
> >
> > diff --git a/mercurial/commands.py b/mercurial/commands.py
> > --- a/mercurial/commands.py
> > +++ b/mercurial/commands.py
> > @@ -5285,6 +5285,13 @@
> > last changed (before the working directory revision or the
> > argument to --rev if given) is printed.
> >
> > + This command is equivalent to::
> > +
> > + hg log -r "parents()" or
> > + hg log -r "parents(REV)" or
> > + hg log -r "max(file(FILE))" or
> > + hg log -r "max(::REV and file(FILE))"
This level of detail is best put inside a verbose container.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial-devel
mailing list