mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-01-28 00:59:02 +01:00
helper: use proper variable in error message
This commit is contained in:
@@ -146,7 +146,7 @@ class GitHgRepo:
|
||||
process = self.start_cmd(args, **kwargs)
|
||||
output = process.communicate()[0]
|
||||
if check and process.returncode != 0:
|
||||
die(b'command failed: %s' % b' '.join([compat.to_b(a) for a in cmd]))
|
||||
die(b'git command failed: %s' % b' '.join([compat.to_b(a) for a in args]))
|
||||
return output
|
||||
|
||||
def get_config(self, config, getall=False):
|
||||
|
||||
Reference in New Issue
Block a user