contrib/perf.py
changeset 37271 14cd5290c4e6
parent 36774 d382344c69aa
child 37355 5bcd5859b505
--- a/contrib/perf.py	Tue Apr 03 12:16:19 2018 +0530
+++ b/contrib/perf.py	Sat Mar 31 23:49:58 2018 +0530
@@ -423,7 +423,8 @@
         oldquiet = repo.ui.quiet
         repo.ui.quiet = True
         matcher = scmutil.match(repo[None])
-        timer(lambda: scmutil.addremove(repo, matcher, "", dry_run=True))
+        opts['dry_run'] = True
+        timer(lambda: scmutil.addremove(repo, matcher, "", opts))
     finally:
         repo.ui.quiet = oldquiet
         fm.end()