Show More
@@ -40,7 +40,6 b' import subprocess' | |||||
40 | import sys |
|
40 | import sys | |
41 |
|
41 | |||
42 | from mercurial import ( |
|
42 | from mercurial import ( | |
43 | encoding, |
|
|||
44 | pycompat, |
|
43 | pycompat, | |
45 | ) |
|
44 | ) | |
46 |
|
45 | |||
@@ -128,7 +127,7 b' def uisetup(ui):' | |||||
128 | optpairs = ( |
|
127 | optpairs = ( | |
129 | ('OPT_{0}'.format(key.upper()), str(value)) |
|
128 | ('OPT_{0}'.format(key.upper()), str(value)) | |
130 | for key, value in opts.iteritems()) |
|
129 | for key, value in opts.iteritems()) | |
131 |
env = dict(itertools.chain( |
|
130 | env = dict(itertools.chain(procutil.shellenviron().items(), | |
132 | msgpairs, optpairs), |
|
131 | msgpairs, optpairs), | |
133 | EVENT=event, HGPID=str(os.getpid())) |
|
132 | EVENT=event, HGPID=str(os.getpid())) | |
134 | runshellcommand(script, env) |
|
133 | runshellcommand(script, env) |
General Comments 0
You need to be logged in to leave comments.
Login now