contrib/perf: name functions to match decorators
authortimeless <timeless@mozdev.org>
Tue, 24 Nov 2015 20:08:21 +0000
changeset 27095 aaf4e2d77148
parent 27094 0569042b41a9
child 27096 964df7b4fb1b
contrib/perf: name functions to match decorators
contrib/perf.py
--- a/contrib/perf.py	Tue Nov 24 22:26:43 2015 +0000
+++ b/contrib/perf.py	Tue Nov 24 20:08:21 2015 +0000
@@ -193,7 +193,7 @@
     fm.end()
 
 @command('perfdirstatefoldmap', formatteropts)
-def perffilefoldmap(ui, repo, **opts):
+def perfdirstatefoldmap(ui, repo, **opts):
     timer, fm = gettimer(ui, opts)
     dirstate = repo.dirstate
     'a' in dirstate
@@ -308,7 +308,7 @@
     fm.end()
 
 @command('perfctxfiles', formatteropts)
-def perfparents(ui, repo, x, **opts):
+def perfctxfiles(ui, repo, x, **opts):
     x = int(x)
     timer, fm = gettimer(ui, opts)
     def d():
@@ -317,7 +317,7 @@
     fm.end()
 
 @command('perfrawfiles', formatteropts)
-def perfparents(ui, repo, x, **opts):
+def perfrawfiles(ui, repo, x, **opts):
     x = int(x)
     timer, fm = gettimer(ui, opts)
     cl = repo.changelog