[PATCH] help: replace patterns with matching

Yuya Nishihara yuya at tcha.org
Mon Jan 30 08:55:01 EST 2017


On Tue, 24 Jan 2017 21:39:45 -0500, Matt Harbison wrote:
> On Tue, 24 Jan 2017 01:42:09 -0500, timeless <timeless at fmr.im> wrote:
> > # HG changeset patch
> > # User timeless <timeless at mozdev.org>
> > # Date 1485239979 0
> > #      Tue Jan 24 06:39:39 2017 +0000
> > # Branch stable
> > # Node ID efe7a979f88411014449f28cc3cc873187d2e0f8
> > # Parent  7bfe02b57695900ef996989286c1fdc2a13aec82
> > # Available At https://bitbucket.org/timeless/mercurial-crew
> > #              hg pull https://bitbucket.org/timeless/mercurial-crew -r  
> > efe7a979f884
> > help: replace patterns with matching
> >
> > The subject of the section is actually matching.
> > We already have a patterns top level help topic.
> >
> > diff -r 7bfe02b57695 -r efe7a979f884 mercurial/help/revisions.txt
> > --- a/mercurial/help/revisions.txt	Fri Jan 20 10:17:34 2017 -0500
> > +++ b/mercurial/help/revisions.txt	Tue Jan 24 06:39:39 2017 +0000
> > @@ -119,7 +119,7 @@
> >  ``x^``
> >    Equivalent to ``x^1``, the first parent of each changeset in x.
> > -Patterns
> > +Matching
> >  ========
> > Where noted, predicates that perform string matching can accept a pattern
> 
> Seems OK, but the references to this section need to be updated too.
> 
> https://www.mercurial-scm.org/repo/hg/rev/0b49449a01f4

"hg help revisions.matching" isn't cool, which shows both "Matching" section
and "matching()" function.

Can we drop this from the hg-committed repo?


More information about the Mercurial-devel mailing list