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

Yuya Nishihara yuya at tcha.org
Fri Dec 8 10:59:30 EST 2017


On Thu, 7 Dec 2017 11:54:00 -0600, Kevin Bullock wrote:
> > I think "make hg <x> recurse subrepos by default" is a noticeable BC since
> > we'll have to specify --no-subrepo to get files in the root repository, for
> > example.
> 
> We wouldn't need to grow a flag for that, a fileset could do it: `hg status -X 'set:insubrepo()'`

Yes, that's nicer than a flag. But my points is you'll be surprised if
"hg files" suddenly starts showing all files including subrepos if you are
accustomed to the current subrepo behavior.


More information about the Mercurial-devel mailing list