Bug 1305597 - explicit path to hg 3.9.1 with valid mercurial.ini r=dustin
authorRob Thijssen <rthijssen@mozilla.com>
Tue, 27 Sep 2016 13:01:45 +0100
changeset 315343 e8583aacde9010fcf9fc17f045e354c40da45046
parent 315342 75416b1f0938c53871d64d02df84a09aca1dcdbd
child 315344 a574544a7c7e056b8b92ec6fafffb1ad0ad98778
push id30748
push usercbook@mozilla.com
push dateWed, 28 Sep 2016 13:53:19 +0000
treeherdermozilla-central@8c84b7618840 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1305597
milestone52.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1305597 - explicit path to hg 3.9.1 with valid mercurial.ini r=dustin MozReview-Commit-ID: 9fBuF2KHHzT
taskcluster/taskgraph/transforms/job/mozharness.py
--- a/taskcluster/taskgraph/transforms/job/mozharness.py
+++ b/taskcluster/taskgraph/transforms/job/mozharness.py
@@ -182,14 +182,15 @@ def mozharness_on_windows(config, job, t
     })
 
     mh_command = [r'c:\mozilla-build\python\python.exe']
     mh_command.append('\\'.join([r'.\build\src\testing', run['script'].replace('/', '\\')]))
     for cfg in run['config']:
         mh_command.append('--config ' + cfg.replace('/', '\\'))
     mh_command.append('--branch ' + config.params['project'])
     mh_command.append(r'--skip-buildbot-actions --work-dir %cd:Z:=z:%\build')
+    hg = r'c:\Program Files\Mercurial\hg.exe'
     worker['command'] = [
         r'mkdir .\build\src',
-        r'hg share c:\builds\hg-shared\mozilla-central .\build\src',
-        r'hg pull -u -R .\build\src --rev %GECKO_HEAD_REV% %GECKO_HEAD_REPOSITORY%',
+        r'"{}" share c:\builds\hg-shared\mozilla-central .\build\src'.format(hg),
+        r'"{}" pull -u -R .\build\src --rev %GECKO_HEAD_REV% %GECKO_HEAD_REPOSITORY%'.format(hg),
         ' '.join(mh_command),
     ]