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.
--- 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")