Mercurial > hg
changeset 43940:d77230743968
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 18 Dec 2019 10:55:06 -0800 |
parents | 07ebb567e8bb |
children | dfac25883dbf |
files | hgext/rebase.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)