mercurial/patch.py
branchstable
changeset 29154 9d38a2061fd8
parent 28861 86db5cb55d46
child 29283 14eee72c8d52
--- a/mercurial/patch.py	Sun May 08 22:28:09 2016 -0400
+++ b/mercurial/patch.py	Fri May 13 07:19:59 2016 +0900
@@ -1010,7 +1010,7 @@
             ui.write("\n")
             if r == 8: # ?
                 for c, t in ui.extractchoices(resps)[1]:
-                    ui.write('%s - %s\n' % (c, t.lower()))
+                    ui.write('%s - %s\n' % (c, encoding.lower(t)))
                 continue
             elif r == 0: # yes
                 ret = True