D3031: histedit: make errror message translatable
sangeet259 (Sangeet Kumar Mishra)
phabricator at mercurial-scm.org
Tue Apr 3 06:50:43 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGffa79073e4ca: histedit: make errror message translatable (authored by sangeet259, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3031?vs=7532&id=7534
REVISION DETAIL
https://phab.mercurial-scm.org/D3031
AFFECTED FILES
hgext/histedit.py
CHANGE DETAILS
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):
To: sangeet259, durin42, #hg-reviewers, pulkit
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list