diff mercurial/match.py @ 6578:f242d3684f83

walk: begin refactoring badmatch handling
author Matt Mackall <mpm@selenic.com>
date Mon, 12 May 2008 11:37:07 -0500
parents 69f3e9ac7c56
children 7fe4610cf920
line wrap: on
line diff
--- a/mercurial/match.py	Mon May 12 11:37:07 2008 -0500
+++ b/mercurial/match.py	Mon May 12 11:37:07 2008 -0500
@@ -7,9 +7,8 @@
         self._cwd = cwd
         self._include = include
         self._exclude = exclude
-        f, mf, ap = util.matcher(self._root, self._cwd, self._patterns,
-                                 self._include, self._exclude, self.src(),
-                                 default)
+        f, mf, ap = util.matcher(root, cwd, patterns, include, exclude,
+                                 self.src(), default)
         self._files = f
         self._fmap = dict.fromkeys(f)
         self._matchfn = mf