contrib/perf.py
changeset 10176 24ce8f0c0a39
parent 9932 2fcbef9a349a
child 10282 08a0f04b56bd
--- a/contrib/perf.py	Thu Dec 31 16:30:34 2009 -0600
+++ b/contrib/perf.py	Thu Dec 31 17:19:30 2009 -0600
@@ -32,7 +32,7 @@
 def perfwalk(ui, repo, *pats):
     try:
         m = cmdutil.match(repo, pats, {})
-        timer(lambda: len(list(repo.dirstate.walk(m, True, False))))
+        timer(lambda: len(list(repo.dirstate.walk(m, [], True, False))))
     except:
         try:
             m = cmdutil.match(repo, pats, {})
@@ -150,4 +150,3 @@
     'perftemplating': (perftemplating, []),
     'perfdiffwd': (perfdiffwd, []),
 }
-