mercurial/cmdutil.py
changeset 6577 569761919450
parent 6576 69f3e9ac7c56
child 6578 f242d3684f83
--- a/mercurial/cmdutil.py	Mon May 12 11:37:07 2008 -0500
+++ b/mercurial/cmdutil.py	Mon May 12 11:37:07 2008 -0500
@@ -233,8 +233,7 @@
 def walk(repo, pats=[], opts={}, node=None, badmatch=None, globbed=False,
          default='relpath'):
     dummy, m, dummy = matchpats(repo, pats, opts, globbed, default)
-    for src, fn in repo.walk(node=node, files=m.files(), match=m,
-                             badmatch=badmatch):
+    for src, fn in repo.walk(node, m, badmatch):
         yield src, fn, m.rel(fn), m.exact(fn)
 
 def findrenames(repo, added=None, removed=None, threshold=0.5):