Submitter | timeless@mozdev.org |
---|---|
Date | Dec. 8, 2015, 8:27 p.m. |
Message ID | <9ceab36b94f34ac90b0d.1449606438@waste.org> |
Download | mbox | patch |
Permalink | /patch/11939/ |
State | Accepted |
Headers | show |
Comments
On Tue, Dec 08, 2015 at 02:27:18PM -0600, timeless wrote: > # HG changeset patch > # User timeless <timeless@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))" > + > See :hg:`summary` and :hg:`help revsets` for related information. > > Returns 0 on success. > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@selenic.com > https://selenic.com/mailman/listinfo/mercurial-devel
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@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.
Patch
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))" + See :hg:`summary` and :hg:`help revsets` for related information. Returns 0 on success.