Show More
@@ -56,9 +56,11 b' def hg(cmd, repo=None):' | |||||
56 | def perf(revset, target=None, contexts=False): |
|
56 | def perf(revset, target=None, contexts=False): | |
57 | """run benchmark for this very revset""" |
|
57 | """run benchmark for this very revset""" | |
58 | try: |
|
58 | try: | |
59 |
args = ['perfrevset' |
|
59 | args = ['perfrevset'] | |
60 | if contexts: |
|
60 | if contexts: | |
61 | args.append('--contexts') |
|
61 | args.append('--contexts') | |
|
62 | args.append('--') | |||
|
63 | args.append(revset) | |||
62 | output = hg(args, repo=target) |
|
64 | output = hg(args, repo=target) | |
63 | return parseoutput(output) |
|
65 | return parseoutput(output) | |
64 | except subprocess.CalledProcessError as exc: |
|
66 | except subprocess.CalledProcessError as exc: |
General Comments 0
You need to be logged in to leave comments.
Login now