[PATCH 3 of 4] py3: use unicode literals in crecord.py

Pulkit Goyal 7895pulkit at gmail.com
Wed Aug 3 15:18:24 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1470250274 -19800
#      Thu Aug 04 00:21:14 2016 +0530
# Branch stable
# Node ID c1ff0bbf5d48277659872d23bd73b122f5c9e250
# Parent  d05240139e452340f279f24887ce6721c0f38978
py3: use unicode literals in crecord.py

diff -r d05240139e45 -r c1ff0bbf5d48 mercurial/crecord.py
--- a/mercurial/crecord.py	Thu Aug 04 00:15:39 2016 +0530
+++ b/mercurial/crecord.py	Thu Aug 04 00:21:14 2016 +0530
@@ -28,7 +28,7 @@
 
 # This is required for ncurses to display non-ASCII characters in default user
 # locale encoding correctly.  --immerrr
-locale.setlocale(locale.LC_ALL, '')
+locale.setlocale(locale.LC_ALL, u'')
 
 # patch comments based on the git one
 diffhelptext = _("""# To remove '-' lines, make them ' ' lines (context).


More information about the Mercurial-devel mailing list