From 4b8a307400934b5e78c8fdbb306160b00cd7454d Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Sat, 3 May 2025 11:28:25 +0200 Subject: [PATCH] helper: use proper variable in error message --- git-hg-helper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hg-helper b/git-hg-helper index b7f6653..d7502b8 100755 --- a/git-hg-helper +++ b/git-hg-helper @@ -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):