Patchwork D7697: rebase: restore i18n of a hint message

login
register
mail settings
Submitter phabricator
Date Dec. 19, 2019, 5:56 p.m.
Message ID <900099a42184b503629b4598bf12a1e7@localhost.localdomain>
Download mbox | patch
Permalink /patch/43992/
State Not Applicable
Headers show

Comments

phabricator - Dec. 19, 2019, 5:56 p.m.
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




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

Patch

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)