[PATCH] match: added matchessubrepo method to matcher

Yuya Nishihara yuya at tcha.org
Sat Aug 13 09:33:56 EDT 2016


On Sat, 13 Aug 2016 01:27:48 +0000, Hannes Oldenburg wrote:
> Should i send a new patch that renames the method to matchessubpath or a
> new version of the patch?

New patch to rename, please. But I'm not sure if subpath is better. "subpath"
out of subrepo context sounds like lower component of a path, e.g.

  dir, subpath = path.split('/', 1)

but "subpath" as subrepo's path is upper component.


More information about the Mercurial-devel mailing list