hgext/sparse.py
changeset 41676 0531dff73d0b
parent 41675 ddbebce94665
child 41988 f9344d04909e
--- 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)