contrib/perf: omit duplicated function
authortimeless <timeless@mozdev.org>
Tue, 24 Nov 2015 20:05:15 +0000
changeset 27096 964df7b4fb1b
parent 27095 aaf4e2d77148
child 27097 b3e24a9c5f9b
contrib/perf: omit duplicated function
contrib/perf.py
--- a/contrib/perf.py	Tue Nov 24 20:08:21 2015 +0000
+++ b/contrib/perf.py	Tue Nov 24 20:05:15 2015 +0000
@@ -329,10 +329,6 @@
 @command('perflookup', formatteropts)
 def perflookup(ui, repo, rev, **opts):
     timer, fm = gettimer(ui, opts)
-
-@command('perflookup', formatteropts)
-def perflookup(ui, repo, rev, **opts):
-    timer, fm = gettimer(ui, opts)
     timer(lambda: len(repo.lookup(rev)))
     fm.end()