changeset 44002 | d9d78e70149a |
parent 43965 | 8a81fa44f7bb |
child 44009 | e685fac56693 |
--- a/mercurial/match.py Thu Jan 02 17:30:27 2020 -0800 +++ b/mercurial/match.py Fri Dec 27 09:55:35 2019 -0800 @@ -945,7 +945,7 @@ The paths are remapped to remove/insert the path as needed: >>> from . import pycompat - >>> m1 = match(util.localpath(b'/root'), b'', [b'a.txt', b'sub/b.txt']) + >>> m1 = match(util.localpath(b'/root'), b'', [b'a.txt', b'sub/b.txt'], auditor=lambda name: None) >>> m2 = subdirmatcher(b'sub', m1) >>> m2(b'a.txt') False