Bug 1275783 - Specify "branch" instead of "revision" in hazard config; r?jlund draft
authorGregory Szorc <gps@mozilla.com>
Wed, 25 May 2016 17:26:37 -0700
changeset 371142 672509f5aaafe6db4f3454eb057cc3e57d8e8341
parent 371141 37e9dfa821aa730ab35ccd9a41790913758ad4d9
child 371143 e4d3787b779dc76d6aa4d31d05119663ec692c97
push id19251
push userbmo:gps@mozilla.com
push dateThu, 26 May 2016 00:36:00 +0000
reviewersjlund
bugs1275783
milestone49.0a1
Bug 1275783 - Specify "branch" instead of "revision" in hazard config; r?jlund I /think/ hazard builds are currently only performed on TC, which doesn't use the VCS settings in mozharness. So I don't think this could possibly break automation. While I was here, I removed a reference to hgtool since we're no longer using hgtool in this job. MozReview-Commit-ID: fQj2MzpGRT
testing/mozharness/configs/hazards/common.py
--- a/testing/mozharness/configs/hazards/common.py
+++ b/testing/mozharness/configs/hazards/common.py
@@ -17,28 +17,27 @@ config = {
 
     # These paths are relative to the tooltool checkout location
     "sixgill": "sixgill/usr/libexec/sixgill",
     "sixgill_bin": "sixgill/usr/bin",
 
     "python": "python",
 
     "exes": {
-        'hgtool.py': '%(abs_tools_dir)s/buildfarm/utils/hgtool.py',
         'gittool.py': '%(abs_tools_dir)s/buildfarm/utils/gittool.py',
         'tooltool.py': '/tools/tooltool.py',
         "virtualenv": [PYTHON_DIR + "/bin/python", "/tools/misc-python/virtualenv.py"],
     },
 
     "force_clobber": True,
     'vcs_share_base': HG_SHARE_BASE_DIR,
 
     "repos": [{
         "repo": "https://hg.mozilla.org/build/tools",
-        "revision": "default",
+        "branch": "default",
         "dest": "tools"
     }],
 
     "upload_remote_baseuri": 'https://ftp-ssl.mozilla.org/',
     "default_blob_upload_servers": [
         "https://blobupload.elasticbeanstalk.com",
     ],
     "blob_uploader_auth_file": os.path.join(os.getcwd(), "oauth.txt"),