Submitter | phabricator |
---|---|
Date | Jan. 8, 2020, 12:03 p.m. |
Message ID | <cbe3c25fd89365383b0f5b66c63a8fda@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/44174/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/mercurial/match.py b/mercurial/match.py --- a/mercurial/match.py +++ b/mercurial/match.py @@ -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