[PATCH 1 of 2 STABLE V2] revsets: remove incorrect doc line

Yuya Nishihara yuya at tcha.org
Thu Apr 28 11:20:43 EDT 2016


On Wed, 27 Apr 2016 20:34:43 -0400, timeless wrote:
> On Wed, Apr 27, 2016 at 5:16 PM, Sean Farley <sean at farley.io> wrote:
> > # HG changeset patch
> > # User Sean Farley <sean at farley.io>
> > # Date 1461790929 25200
> > #      Wed Apr 27 14:02:09 2016 -0700
> > # Branch stable
> > # Node ID c94d5bcf19875b7b1b04ade9ad2bfb04f80ef1ae
> > # Parent  cfcd065cae29673c180892ae692e986661a4adc6
> > # EXP-Topic doc-only-revset
> > revsets: remove incorrect doc line
> >
> > diff --git a/mercurial/help/revsets.txt b/mercurial/help/revsets.txt
> > --- a/mercurial/help/revsets.txt
> > +++ b/mercurial/help/revsets.txt
> > @@ -48,12 +48,10 @@ These are the supported infix operators:
> >    for n == 2, the second parent of changeset in x.
> >
> >  ``x~n``
> >    The nth first ancestor of x; ``x~0`` is x; ``x~3`` is ``x^^^``.
> >
> > -There is a single postfix operator:
> > -
> >  ``x^``
> >    Equivalent to ``x^1``, the first parent of each changeset in x.

> I don't understand. I think it's correct.
> It's also parallel to:
>
> There is a single prefix operator:

Perhaps Sean would mean "x%" is also a postfix (suffix) operator. But I
agree with timeless in that removing this sentence is inconsistent.


More information about the Mercurial-devel mailing list