Mercurial > public > mercurial-scm > hg-stable
diff hgext/sparse.py @ 41687:0531dff73d0b
match: delete unused root and cwd arguments from {always,never,exact}() (API)
Differential Revision: https://phab.mercurial-scm.org/D5930
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Sat, 09 Feb 2019 22:50:53 -0800 |
parents | ddbebce94665 |
children | f9344d04909e |
line wrap: on
line diff
--- a/hgext/sparse.py Sun Feb 10 14:35:36 2019 -0800 +++ b/hgext/sparse.py Sat Feb 09 22:50:53 2019 -0800 @@ -199,7 +199,7 @@ def walk(orig, self, match, subrepos, unknown, ignored, full=True): # hack to not exclude explicitly-specified paths so that they can # be warned later on e.g. dirstate.add() - em = matchmod.exact(None, None, match.files()) + em = matchmod.exact(match.files()) sm = matchmod.unionmatcher([self._sparsematcher, em]) match = matchmod.intersectmatchers(match, sm) return orig(self, match, subrepos, unknown, ignored, full)