D7101: fix: match patterns relative to root
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Oct 14 23:54:04 EDT 2019
martinvonz added a comment.
In D7101#104125 <https://phab.mercurial-scm.org/D7101#104125>, @mharbison72 wrote:
> The part of the help text that documents `:pattern` and points to `hg help patterns` should probably explicitly state that they are all relative to repo root, regardless of what the latter says.
Good point! Done.
> I can’t tell from my phone, but should the matcher in `getworkqueue` and the status call in `pathstofix` also be adjusted? (Not sure if there are others.)
No, that matcher (it's the same instance that's passed between them) is created based on `pats` and `opts`, i.e. command line arguments.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7101/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7101
To: martinvonz, #hg-reviewers, mharbison72
Cc: mharbison72, mercurial-devel
More information about the Mercurial-devel
mailing list