# HG changeset patch # User Pulkit Goyal # Date 1541097195 -10800 # Node ID b757f06193d048ef02876a77cde4a7b64ebf1d13 # Parent da5f7927917c74f031268de8d26528dc0f68e040 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. diff -r da5f7927917c -r b757f06193d0 CHANGELOG --- 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 ------------------- diff -r da5f7927917c -r b757f06193d0 hgext3rd/evolve/utility.py --- 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")