Bug 1309894 - Use "poll_all_branches" to explicitly set polling behaviour r=catlee
authorRail Aliiev <rail@mozilla.com>
Fri, 21 Oct 2016 09:29:14 -0400 (2016-10-21)
changeset 5026 422f21b8f5fc104005dfce15f3c31671144ee41d
parent 5022 bfe42c243d4a7c6f1a15fb2d36567d715a5447e4
child 5027 2b72a3a74fd1276c4b76a1f6e86ea16f00c21539
child 5029 1b8422e7e50adfa940b656339d5ae66f39af825e
push id4241
push userraliiev@mozilla.com
push dateFri, 21 Oct 2016 13:37:57 +0000 (2016-10-21)
reviewerscatlee
bugs1309894
Bug 1309894 - Use "poll_all_branches" to explicitly set polling behaviour r=catlee MozReview-Commit-ID: DIgtMdkVnjF
misc.py
--- a/misc.py
+++ b/misc.py
@@ -1006,17 +1006,17 @@ def generateBranchObjects(config, name, 
             extraRecipients=extraRecipients,
             branches=[config['repo_path']],
             messageFormatter=lambda c: buildTryChangeMessage(c,
                                                              '/'.join([packageUrl, packageDir])),
         ))
 
     tipsOnly = False
     maxChanges = 100
-    if config.get('enable_try', False):
+    if config.get('watch_all_branches'):
         # Pay attention to all branches for pushes to try
         repo_branch = None
     else:
         # Other branches should only pay attention to the default branch
         repo_branch = "default"
 
     branchObjects['change_source'].append(HgPoller(
         hgURL=config['hgurl'],