Bug 1309894 - Use "poll_all_branches" to explicitly set polling behaviour r=catlee
MozReview-Commit-ID: DIgtMdkVnjF
--- 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'],