mercurial/match.py
changeset 13971 bfeaa88b875d
parent 13441 b366a5e021c6
child 14168 135e244776f0
--- a/mercurial/match.py	Wed Apr 20 19:54:57 2011 +0200
+++ b/mercurial/match.py	Wed Apr 20 21:41:41 2011 +0200
@@ -6,7 +6,7 @@
 # GNU General Public License version 2 or any later version.
 
 import re
-import util
+import scmutil, util
 from i18n import _
 
 class match(object):
@@ -269,7 +269,7 @@
     pats = []
     for kind, name in [_patsplit(p, default) for p in names]:
         if kind in ('glob', 'relpath'):
-            name = util.canonpath(root, cwd, name, auditor)
+            name = scmutil.canonpath(root, cwd, name, auditor)
         elif kind in ('relglob', 'path'):
             name = util.normpath(name)
         elif kind in ('listfile', 'listfile0'):