Mercurial > hg-stable
changeset 18238:1f991e625d01
perftest: document the perfrevset command
I'll add an argument to it.
author | Pierre-Yves David <pierre-yves.david@logilab.fr> |
---|---|
date | Fri, 04 Jan 2013 19:22:15 +0100 |
parents | 4132dc9bd5c4 |
children | a95f1d619bb7 |
files | contrib/perf.py |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)