diff -r c0d0fd87ba7c -r bbd240f81ac5 mercurial/scmutil.py --- a/mercurial/scmutil.py Sat Apr 07 21:21:03 2018 +0900 +++ b/mercurial/scmutil.py Sat Apr 07 21:23:42 2018 +0900 @@ -1173,7 +1173,7 @@ src.close() if proc and proc.returncode != 0: raise error.Abort(_("extdata command '%s' failed: %s") - % (cmd, procutil.explainexit(proc.returncode)[0])) + % (cmd, procutil.explainexit(proc.returncode))) return data