[PATCH] match: adding support for repository-root-based globs

Yuya Nishihara yuya at tcha.org
Sat Nov 5 03:54:21 UTC 2016


On Wed, 2 Nov 2016 15:58:12 +0100, Pierre-Yves David wrote:
> >> It’s a mistake that existing matchers have a recursive * behavior with --include, but it’s too late to change that. As such, I’d much rather have this proposal as currently stated.
> 
> > Given the current globsuffix thing is just for backward compatibility, new
> > rootglob prefix makes sense to me. Fileset, which is relatively new, behaves
> > in that way.
> 
> On one hand, this extra bits from Yuya increase my wish for a nice 
> summary of the current situation + objective. On the other hand there it 
> start to have enough core people who seems to know what they are doing 
> on this topic to let them work together on this.
> 
> So I wish there was a plan page but if none of Foozy, Yuya or Augie 
> think it is necessary, just go ahead.

Ok, let's start the plan page so hopefully the rootglob or any equivalents
can be landed in 4.1.

https://www.mercurial-scm.org/wiki/FileNamePatternsPlan



More information about the Mercurial-devel mailing list