Skip to content
Snippets Groups Projects
Commit c04e5e937139 authored by Pierre-Yves David's avatar Pierre-Yves David
Browse files

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.)
parent c8b9c6147108
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment