D7697: rebase: restore i18n of a hint message

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Thu Dec 19 12:56:18 EST 2019


Closed by commit rHGd77230743968: rebase: restore i18n of a hint message (authored by martinvonz).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D7697?vs=18864&id=18882

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7697/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7697

AFFECTED FILES
  hgext/rebase.py

CHANGE DETAILS

diff --git a/hgext/rebase.py b/hgext/rebase.py
--- a/hgext/rebase.py
+++ b/hgext/rebase.py
@@ -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)



To: martinvonz, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list