# HG changeset patch # User timeless # Date 1448395701 0 # Node ID aaf4e2d77148838e885c9755c861ecad9e319692 # Parent 0569042b41a9d5a4c643f0fba41a1f844dd6cb9c contrib/perf: name functions to match decorators diff -r 0569042b41a9 -r aaf4e2d77148 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