D7101: fix: match patterns relative to root
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Tue Oct 15 08:55:36 EDT 2019
pulkit added a comment.
Amended the following in flight:
diff --git a/tests/test-fix.t b/tests/test-fix.t
@@ -157,8 +157,10 @@ Help text for fix.
:skipclean suboption to false.
The :pattern suboption determines which files will be passed through each
- configured tool. See 'hg help patterns' for possible values. If there are file
- arguments to 'hg fix', the intersection of these patterns is used.
+ configured tool. See 'hg help patterns' for possible values. However, all
+ patterns are relative to the repo root, even if that text says they are
+ relative to the current working directory. If there are file arguments to 'hg
+ fix', the intersection of these patterns is used.
There is also a configurable limit for the maximum size of file that will be
processed by 'hg fix':
CHANGES SINCE LAST ACTION
To: martinvonz, #hg-reviewers, mharbison72, pulkit
Cc: mharbison72, mercurial-devel
More information about the Mercurial-devel