Mercurial > evolve
changeset 4222:b757f06193d0 stable
utility: don't translate commit messages in revselection prompt (issue6016)
Commit messages should not be translated and should be shown the same. I am not
sure if I can add a test for this by creating a commit with non-ascii character
in commit message.
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Thu, 01 Nov 2018 21:33:15 +0300 |
parents | da5f7927917c |
children | 4a3d588e5311 |
files | CHANGELOG hgext3rd/evolve/utility.py |
diffstat | 2 files changed, 7 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGELOG Thu Oct 25 18:50:42 2018 +0200 +++ b/CHANGELOG Thu Nov 01 21:33:15 2018 +0300 @@ -2,6 +2,11 @@ ========= +8.3.2 - in progress +------------------- + + * evolve: not longer attempt to translate revision's descriptions (issue6016) + 8.3.1 -- 2018-10-25 -------------------
--- a/hgext3rd/evolve/utility.py Thu Oct 25 18:50:42 2018 +0200 +++ b/hgext3rd/evolve/utility.py Thu Nov 01 21:33:15 2018 +0300 @@ -161,8 +161,8 @@ promptmsg = customheader + "\n" for idx, rev in enumerate(revs): curctx = repo[rev] - revmsg = _("%d: [%s] %s\n" % (idx, curctx, - curctx.description().split("\n")[0])) + revmsg = "%d: [%s] %s\n" % (idx, curctx, + curctx.description().split("\n")[0]) promptmsg += revmsg promptmsg += _("q: quit the prompt\n")