equal
deleted
inserted
replaced
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): |