##// END OF EJS Templates
git: use human friendly logging of executed commands. Allows easier reproduction in case of debugging
marcink -
r271:93a09a18 default
parent child Browse files
Show More
@@ -628,6 +628,7 b' class GitRemote(object):'
628
628
629 return ''.join(p), ''.join(p.error)
629 return ''.join(p), ''.join(p.error)
630 except (EnvironmentError, OSError) as err:
630 except (EnvironmentError, OSError) as err:
631 cmd = ' '.join(cmd) # human friendly CMD
631 tb_err = ("Couldn't run git command (%s).\n"
632 tb_err = ("Couldn't run git command (%s).\n"
632 "Original error was:%s\n" % (cmd, err))
633 "Original error was:%s\n" % (cmd, err))
633 log.exception(tb_err)
634 log.exception(tb_err)
General Comments 0
You need to be logged in to leave comments. Login now