diff -r f694e20193f2 -r 98e8313dcd9e mercurial/subrepo.py --- a/mercurial/subrepo.py Tue Jun 07 12:10:01 2016 +0200 +++ b/mercurial/subrepo.py Tue Jun 14 11:53:55 2016 +0200 @@ -1414,7 +1414,7 @@ if command in ('cat-file', 'symbolic-ref'): return retdata, p.returncode # for all others, abort - raise error.Abort('git %s error %d in %s' % + raise error.Abort(_('git %s error %d in %s') % (command, p.returncode, self._relpath)) return retdata, p.returncode