hg
changeset 21812 73e4a02e6d23
parent 14233 659f34b833b9
child 29172 2ea9c9aa6e60
equal deleted inserted replaced
21811:789b69d597cc 21812:73e4a02e6d23
     7 # This software may be used and distributed according to the terms of the
     7 # This software may be used and distributed according to the terms of the
     8 # GNU General Public License version 2 or any later version.
     8 # GNU General Public License version 2 or any later version.
     9 
     9 
    10 import os
    10 import os
    11 import sys
    11 import sys
       
    12 
       
    13 if os.environ.get('HGUNICODEPEDANTRY', False):
       
    14     reload(sys)
       
    15     sys.setdefaultencoding("undefined")
       
    16 
    12 
    17 
    13 libdir = '@LIBDIR@'
    18 libdir = '@LIBDIR@'
    14 
    19 
    15 if libdir != '@' 'LIBDIR' '@':
    20 if libdir != '@' 'LIBDIR' '@':
    16     if not os.path.isabs(libdir):
    21     if not os.path.isabs(libdir):