diff mercurial/localrepo.py @ 8566:744d6322b05b

match: change all users of util.matcher to match.match
author Matt Mackall <mpm@selenic.com>
date Sun, 24 May 2009 02:56:14 -0500
parents 6b9ec23b09fc
children fea40a677d43
line wrap: on
line diff
--- a/mercurial/localrepo.py	Sat May 23 17:04:41 2009 +0200
+++ b/mercurial/localrepo.py	Sun May 24 02:56:14 2009 -0500
@@ -528,7 +528,7 @@
             for pat, cmd in self.ui.configitems(filter):
                 if cmd == '!':
                     continue
-                mf = util.matcher(self.root, "", [pat], [], [])[1]
+                mf = match_.match(self.root, '', [pat], [], [], 'glob')
                 fn = None
                 params = cmd
                 for name, filterfn in self._datafilters.iteritems():