py3: use unicode literals in crecord.py
authorPulkit Goyal <7895pulkit@gmail.com>
Thu, 04 Aug 2016 00:21:14 +0530
changeset 29711 00269c6e4f6e
parent 29710 2f64e5a6efb8
child 29712 f15f31505f12
py3: use unicode literals in crecord.py
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).