diff hg @ 43073:5c9c71cde1c9

hg: remove HGUNICODEPEDANTRY and RTUNICODEPEDANTRY This was added in 73e4a02e6d23 and 89822d7a9d5f as a preliminary way to better support Python 3. With the Python 3 port nearly done and better procedures in place, we shouldn't need it. Differential Revision: https://phab.mercurial-scm.org/D6991
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 05 Oct 2019 17:01:02 -0400
parents 5e78c100a215
children 99e231afc29c
line wrap: on
line diff
--- a/hg	Fri Oct 04 16:07:32 2019 -0400
+++ b/hg	Sat Oct 05 17:01:02 2019 -0400
@@ -11,13 +11,6 @@
 import os
 import sys
 
-if os.environ.get('HGUNICODEPEDANTRY', False):
-    try:
-        reload(sys)
-        sys.setdefaultencoding("undefined")
-    except NameError:
-        pass
-
 libdir = '@LIBDIR@'
 
 if libdir != '@' 'LIBDIR' '@':