[PATCH 1 of 2] cat: record the current behavior of wildcard matches in subrepos

Augie Fackler raf at durin42.com
Tue Nov 28 14:02:28 EST 2017


On Sun, Nov 26, 2017 at 07:55:29PM -0500, Matt Harbison wrote:
> On Sun, 26 Nov 2017 05:26:24 -0500, Yuya Nishihara <yuya at tcha.org> wrote:
>
> > On Sat, 25 Nov 2017 23:37:16 -0500, Matt Harbison wrote:
> > > On Sat, 25 Nov 2017 02:35:03 -0500, Yuya Nishihara <yuya at tcha.org>
> > > wrote:
> > >
> > > > # HG changeset patch
> > > > # User Yuya Nishihara <yuya at tcha.org>
> > > > # Date 1511591374 -32400
> > > > #      Sat Nov 25 15:29:34 2017 +0900
> > > > # Node ID 38e952030f0c4746257280d47f0f94b6cb9ddb41
> > > > # Parent  8287df8b7be545fdafa22b771012ac65f6264d12
> > > > cat: record the current behavior of wildcard matches in subrepos
> > > >
> > > > It appears that Mercurial subrepo supports any match patterns.
> > > >
> > > > diff --git a/mercurial/help/subrepos.txt b/mercurial/help/subrepos.txt
> > > > --- a/mercurial/help/subrepos.txt
> > > > +++ b/mercurial/help/subrepos.txt
> > > > @@ -90,7 +90,7 @@ Interaction with Mercurial Commands
> > > >  :archive: archive does not recurse in subrepositories unless
> > > >      -S/--subrepos is specified.
> > > > -:cat: cat currently only handles exact file matches in subrepos.
> > > > +:cat: cat currently only handles exact file matches in Git subrepos.
> > >
> > > Should this be "cat currently only handles pattern matches in Mercurial
> > > subrepos"?  The test above this new inexact match test is for an
> > > exact hg
> > > match.  Git bails early on m.anypats().
> >
> > Hmm, how about this?
> >
> >   Git subrepositories only support exact file matches. Subversion
> >   subrepositories are currently ignored.
> >
> > What I wanted to say is Git support is limited.
>
> That sounds good to me, thanks.

Should I be looking for a v2 of this, or is this ready to go?

> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


More information about the Mercurial-devel mailing list