branch | stable |
changeset 13188 | 6c9345f9edca |
parent 13128 | dbc546811dd6 |
child 13189 | f5be619663f9 |
child 13204 | 5b83ab614dab |
--- a/mercurial/util.py Mon Dec 20 15:26:36 2010 -0600 +++ b/mercurial/util.py Wed Dec 22 13:25:00 2010 -0600 @@ -391,9 +391,7 @@ return '1' return str(val) origcmd = cmd - if os.name == 'nt' and sys.version_info < (2, 7, 1): - # Python versions since 2.7.1 do this extra quoting themselves - cmd = '"%s"' % cmd + cmd = quotecommand(cmd) env = dict(os.environ) env.update((k, py2shell(v)) for k, v in environ.iteritems()) env['HG'] = hgexecutable()