# HG changeset patch
# User Pulkit Goyal <pulkit@yandex-team.ru>
# Date 1541097195 -10800
#      Thu Nov 01 21:33:15 2018 +0300
# Branch stable
# 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 --git a/CHANGELOG b/CHANGELOG
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -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 --git a/hgext3rd/evolve/utility.py b/hgext3rd/evolve/utility.py
--- a/hgext3rd/evolve/utility.py
+++ b/hgext3rd/evolve/utility.py
@@ -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")