# HG changeset patch # User Pierre-Yves David # Date 1357323735 -3600 # Node ID 1f991e625d013b25becd336e7f5fc16988391a30 # Parent 4132dc9bd5c4784dd94b5e7eaa134f3c8408898a perftest: document the perfrevset command I'll add an argument to it. diff -r 4132dc9bd5c4 -r 1f991e625d01 contrib/perf.py --- a/contrib/perf.py Fri Jan 04 19:20:51 2013 +0100 +++ b/contrib/perf.py Fri Jan 04 19:22:15 2013 +0100 @@ -261,8 +261,10 @@ timer(d) -@command('perfrevset') +@command('perfrevset',[], + "REVSET") def perfrevset(ui, repo, expr): + """benchmark the execution time of a revset""" def d(): repo.revs(expr) timer(d)