diff -r 07ebb567e8bb -r d77230743968 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)