##// END OF EJS Templates
revsetbenchmarks: improve error output in case of failure...
Pierre-Yves David -
r25529:3e80691d default
parent child Browse files
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