Patchwork D3031: histedit: make errror message translatable

login
register
mail settings
Submitter phabricator
Date April 3, 2018, 10:50 a.m.
Message ID <eccc6f58c332d0a6b8efe5b6b64fa8b9@localhost.localdomain>
Download mbox | patch
Permalink /patch/30158/
State Not Applicable
Headers show

Comments

phabricator - April 3, 2018, 10:50 a.m.
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




To: sangeet259, durin42, #hg-reviewers, pulkit
Cc: mercurial-devel

Patch

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):