Bug 1275623 - Don't use --revision to pass symbolic revisions; r=jlund
authorGregory Szorc <gps@mozilla.com>
Wed, 25 May 2016 09:37:34 -0700
changeset 371107 42a7a846a11b395b5228d0c5ca1b331d1f62fdb2
parent 371106 836c207f205f3e0f9e40a447a568c8a8b71a59e6
child 371108 eff54d521d78abcacfbd8426ccb9cc71b0182ce5
push id19232
push userbmo:gps@mozilla.com
push dateWed, 25 May 2016 22:36:54 +0000
reviewersjlund
bugs1275623, 1274693
milestone49.0a1
Bug 1275623 - Don't use --revision to pass symbolic revisions; r=jlund This is a regression from cd58054bde90 (bug 1274693). MozReview-Commit-ID: DoyeGf1Cu7l
testing/mozharness/mozharness/mozilla/l10n/locales.py
--- a/testing/mozharness/mozharness/mozilla/l10n/locales.py
+++ b/testing/mozharness/mozharness/mozilla/l10n/locales.py
@@ -222,17 +222,17 @@ class LocalesMixin(ChunkingMixin):
         if c.get("user_repo_override"):
             hg_l10n_base = hg_l10n_base % {"user_repo_override": c["user_repo_override"]}
         for locale in locales:
             tag = c.get('hg_l10n_tag', 'default')
             if self.l10n_revisions.get(locale):
                 tag = self.l10n_revisions[locale]
             locale_repos.append({
                 'repo': "%s/%s" % (hg_l10n_base, locale),
-                'revision': tag,
+                'branch': tag,
                 'vcs': vcs
             })
         revs = self.vcs_checkout_repos(repo_list=locale_repos,
                                        parent_dir=parent_dir,
                                        tag_override=c.get('tag_override'))
         self.gecko_locale_revisions = revs
 
     def query_l10n_repo(self):