mercurial/commands.py
changeset 1081 8b7d63489db3
parent 1071 8f0ac653f85e
child 1085 6f94688b81b6
--- a/mercurial/commands.py	Sat Aug 27 08:22:10 2005 +0200
+++ b/mercurial/commands.py	Fri Aug 26 23:29:10 2005 -0700
@@ -30,7 +30,7 @@
     return args
 
 def matchpats(repo, cwd, pats=[], opts={}, head=''):
-    return util.matcher(repo, cwd, pats or ['.'], opts.get('include'),
+    return util.matcher(repo.root, cwd, pats or ['.'], opts.get('include'),
                         opts.get('exclude'), head)
 
 def makewalk(repo, pats, opts, head=''):