diff contrib/perf.py @ 37271:14cd5290c4e6

addremove: remove dry_run, similarity from scmutil.addremove (API) Differential Revision: https://phab.mercurial-scm.org/D3000
author Sushil khanchi <sushilkhanchi97@gmail.com>
date Sat, 31 Mar 2018 23:49:58 +0530
parents d382344c69aa
children 5bcd5859b505
line wrap: on
line diff
--- 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()