hgext/purge.py
changeset 6603 41eb20cc1c02
parent 6592 f3d7c2e81be1
child 6746 1dca460e7d1e
--- a/hgext/purge.py	Mon May 12 11:37:08 2008 -0500
+++ b/hgext/purge.py	Mon May 12 11:37:08 2008 -0500
@@ -86,8 +86,7 @@
     files = []
     match = cmdutil.match(repo, dirs, opts)
     match.dir = directories.append
-    for src, f, st in repo.dirstate.statwalk(match.files(), match,
-                                             ignored=ignored):
+    for src, f, st in repo.dirstate.statwalk(match, ignored=ignored):
         if src == 'f' and f not in repo.dirstate:
             files.append(f)