diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -436,7 +436,7 @@ rulehash = _ctx.hex() rev = node.bin(rulehash) except error.RepoLookupError: - raise error.ParseError("invalid changeset %s" % ruleid) + raise error.ParseError(_("invalid changeset %s") % ruleid) return cls(state, rev) def verify(self, prev, expected, seen):