Sort our HGPollers, just to be tidy. r=me
authorPhilippe M. Chiasson <gozer@mozillamessaging.com>
Wed, 07 Jan 2009 12:51:31 -0500
changeset 644 c68b07eec63d2f76be7fafb186ba584710701a48
parent 643 8d2dc5994b253efd7b5ded584368a33b694a8a3f
child 645 017bd556bc803b417d9a8bc2ee0beee673f071f9
push id1
push userroot
push dateWed, 17 Dec 2014 00:18:48 +0000
reviewersme
Sort our HGPollers, just to be tidy. r=me
thunderbird/mozillabuild.py
--- a/thunderbird/mozillabuild.py
+++ b/thunderbird/mozillabuild.py
@@ -18,15 +18,15 @@ def setupHGPollersFromBranches(defaults,
         if hgurl[-1:] == '/':
             hgurl = hgurl[:-1]
         poll_branch = getConfig(defaults, branch, 'master_branch')
         for b in [poll_branch] + [getConfig(defaults, branch, 'mozilla_central_branch')] + getConfig(defaults, branch, 'add_poll_branches'):
             pushlogUrlOverride = '%s/%s/pushlog' % (hgurl, b),
             if not sources.get(b):
                 sources[b] = pushlogUrlOverride
 
-    for branch in sources.keys():
+    for branch in sorted(sources.keys()):
         change_source.append(HgPoller(
             hgURL=hgurl,
             pushlogUrlOverride="%s/%s/pushlog" % (hgurl,branch),
             branch=fixed_branch,
             pollInterval=1*60
         ))