bug 539938 - Make L10n nightly updates work (for SeaMonkey), set env var for branch (better, working patch), r=armenzg
authorRobert Kaiser <kairo@kairo.at>
Thu, 21 Jan 2010 18:05:54 +0100
changeset 585 8bb13060629c0decc063ae857c54176c4415d8df
parent 584 6bf6a7214cea0a73c8c048b8e1bd75f091862dd0
child 586 026bd101db689a2e4039f5b015b95608b9d1eaed
push id326
push userkairo@kairo.at
push dateThu, 21 Jan 2010 17:06:13 +0000
reviewersarmenzg
bugs539938
bug 539938 - Make L10n nightly updates work (for SeaMonkey), set env var for branch (better, working patch), r=armenzg
process/factory.py
--- a/process/factory.py
+++ b/process/factory.py
@@ -1859,16 +1859,17 @@ class NightlyRepackFactory(BaseRepackFac
             assert ausUser and ausHost
 
             # this is a tad ugly because we need to python interpolation
             # as well as WithProperties
             # here's an example of what it translates to:
             # /opt/aus2/build/0/Firefox/mozilla-central/WINNT_x86-msvc/2008010103/fr
             self.ausFullUploadDir = '%s/%s/%%(buildid)s/%%(locale)s' % \
               (self.ausBaseUploadDir, self.updatePlatform)
+            self.env.update({'FILE_BRANCH': self.branchName})
             self.createNightlySnippet()
             self.uploadSnippet()
 
     def updateSources(self):
         self.addStep(ShellCommand,
          name='update_locale_source',
          command=['hg', 'up', '-C', '-r', self.l10nTag],
          description='update workdir',