Read about our upcoming Code of Conduct on this issue

Commit 42eda08e authored by timeless's avatar timeless
Browse files

contrib/perf: name functions to match decorators

parent 0569042b41a9
......@@ -193,7 +193,7 @@ def perfdirstatedirs(ui, repo, **opts):
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 @@ def perfparents(ui, repo, **opts):
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 @@ def perfparents(ui, repo, x, **opts):
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment