# HG changeset patch # User Pierre-Yves David # Date 1398458691 25200 # Node ID c04e5e937139f13772e6597c1c070b0feafcc639 # Parent c8b9c6147108e2e9020ad7034a8632bd11345be5 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.) diff -r c8b9c6147108 -r c04e5e937139 contrib/revsetbenchmarks.py --- 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):