rebase: restore i18n of a hint message
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 18 Dec 2019 10:55:06 -0800
changeset 43940 d77230743968
parent 43939 07ebb567e8bb
child 43941 dfac25883dbf
rebase: restore i18n of a hint message As noticed by Yuya, I lost the _() call in 71fee4564410 (rebase: use rewriteutil.precheck() instead of reimplementing it, 2019-12-18). Differential Revision: https://phab.mercurial-scm.org/D7697
hgext/rebase.py
--- a/hgext/rebase.py	Wed Dec 18 23:45:11 2019 -0800
+++ b/hgext/rebase.py	Wed Dec 18 10:55:06 2019 -0800
@@ -399,7 +399,7 @@
                 rewriteutil.precheck(self.repo, rebaseset, action=b'rebase')
             except error.Abort as e:
                 if e.hint is None:
-                    e.hint = b'use --keep to keep original changesets'
+                    e.hint = _(b'use --keep to keep original changesets')
                 raise e
 
         result = buildstate(self.repo, destmap, self.collapsef)