Show More
@@ -133,14 +133,14 b' def runhg(cmd, env):' | |||
|
133 | 133 | |
|
134 | 134 | version = '' |
|
135 | 135 | |
|
136 | env = {'HGRCPATH': '', 'LANGUAGE': 'C'} | |
|
137 | ||
|
136 | 138 | if os.path.isdir('.hg'): |
|
137 | 139 | # Execute hg out of this directory with a custom environment which |
|
138 | 140 | # includes the pure Python modules in mercurial/pure. We also take |
|
139 | 141 | # care to not use any hgrc files and do no localization. |
|
140 | 142 | pypath = ['mercurial', os.path.join('mercurial', 'pure')] |
|
141 |
env |
|
|
142 | 'HGRCPATH': '', | |
|
143 | 'LANGUAGE': 'C'} | |
|
143 | env['PYTHONPATH'] = os.pathsep.join(pypath) | |
|
144 | 144 | if 'LD_LIBRARY_PATH' in os.environ: |
|
145 | 145 | env['LD_LIBRARY_PATH'] = os.environ['LD_LIBRARY_PATH'] |
|
146 | 146 | if 'SystemRoot' in os.environ: |
General Comments 0
You need to be logged in to leave comments.
Login now