mercurial/commands.py
changeset 1413 1c64c628d15f
parent 1405 6fd6527f95eb
child 1415 c6e6ca96a033
--- a/mercurial/commands.py	Tue Oct 18 23:58:00 2005 -0700
+++ b/mercurial/commands.py	Wed Oct 19 00:02:41 2005 -0700
@@ -32,7 +32,7 @@
     return args
 
 def matchpats(repo, cwd, pats=[], opts={}, head=''):
-    return util.matcher(repo.root, cwd, pats or ['.'], opts.get('include'),
+    return util.cmdmatcher(repo.root, cwd, pats or ['.'], opts.get('include'),
                         opts.get('exclude'), head)
 
 def makewalk(repo, pats, opts, head=''):