Show More
@@ -57,7 +57,11 b' def perf(revset, target=None):' | |||||
57 | output = output.lstrip('!') # remove useless ! in this context |
|
57 | output = output.lstrip('!') # remove useless ! in this context | |
58 | return output.strip() |
|
58 | return output.strip() | |
59 | except CalledProcessError, exc: |
|
59 | except CalledProcessError, exc: | |
60 | print >> sys.stderr, 'abort: cannot run revset benchmark' |
|
60 | print >> sys.stderr, 'abort: cannot run revset benchmark: %s' % exc.cmd | |
|
61 | if exc.output is None: | |||
|
62 | print >> sys.stderr, '(no ouput)' | |||
|
63 | else: | |||
|
64 | print >> sys.stderr, exc.output | |||
61 | sys.exit(exc.returncode) |
|
65 | sys.exit(exc.returncode) | |
62 |
|
66 | |||
63 | def printrevision(rev): |
|
67 | def printrevision(rev): |
General Comments 0
You need to be logged in to leave comments.
Login now