# HG changeset patch # User Marcin Kuzminski # Date 2017-08-28 19:42:10 # Node ID 93a09a18329d108830476adc5939f83e65dc53cb # Parent 34f2a8e838095b28e03097fb087db3e401510dd8 git: use human friendly logging of executed commands. Allows easier reproduction in case of debugging diff --git a/vcsserver/git.py b/vcsserver/git.py --- a/vcsserver/git.py +++ b/vcsserver/git.py @@ -628,6 +628,7 @@ class GitRemote(object): return ''.join(p), ''.join(p.error) except (EnvironmentError, OSError) as err: + cmd = ' '.join(cmd) # human friendly CMD tb_err = ("Couldn't run git command (%s).\n" "Original error was:%s\n" % (cmd, err)) log.exception(tb_err)