revsetbenchmark: fix error raising
We want to display the commands, not all arguments of the function. (The old
code actually crash, failing to joining a list of lists.)
--- a/contrib/revsetbenchmarks.py Mon Apr 28 16:28:52 2014 -0700
+++ b/contrib/revsetbenchmarks.py Fri Apr 25 13:44:51 2014 -0700
@@ -22,7 +22,7 @@
proc = Popen(*args, **kwargs)
output, error = proc.communicate()
if proc.returncode != 0:
- raise CalledProcessError(proc.returncode, ' '.join(args))
+ raise CalledProcessError(proc.returncode, ' '.join(args[0]))
return output
def update(rev):