Bug 1275783 - Don't use HgtoolVCS to query pushlog; r?jlund draft
authorGregory Szorc <gps@mozilla.com>
Wed, 18 May 2016 16:09:36 -0700
changeset 371141 37e9dfa821aa730ab35ccd9a41790913758ad4d9
parent 371123 c1ef594d874c9badb999d67dcda88df112bf6e20
child 371142 672509f5aaafe6db4f3454eb057cc3e57d8e8341
push id19251
push userbmo:gps@mozilla.com
push dateThu, 26 May 2016 00:36:00 +0000
reviewersjlund
bugs1275783
milestone49.0a1
Bug 1275783 - Don't use HgtoolVCS to query pushlog; r?jlund The normal MercurialVCS now supports querying pushlog. Use it. This isn't really relevant to the bug summary and other commits in this series. But I already wrote this commit and was too lazy to create a new bug for it. MozReview-Commit-ID: C97Zgox3xKB
testing/mozharness/scripts/desktop_l10n.py
--- a/testing/mozharness/scripts/desktop_l10n.py
+++ b/testing/mozharness/scripts/desktop_l10n.py
@@ -1065,17 +1065,17 @@ class DesktopSingleLocale(LocalesMixin, 
         self.enable_mock()
         self.activate_virtualenv()
 
         branch = self.config['branch']
         revision = self._query_revision()
         repo = self.query_l10n_repo()
         if not repo:
             self.fatal("Unable to determine repository for querying the push info.")
-        pushinfo = self.vcs_query_pushinfo(repo, revision, vcs='hgtool')
+        pushinfo = self.vcs_query_pushinfo(repo, revision, vcs='hg')
         pushdate = time.strftime('%Y%m%d%H%M%S', time.gmtime(pushinfo.pushdate))
 
         routes_json = os.path.join(self.query_abs_dirs()['abs_mozilla_dir'],
                                    'testing/taskcluster/routes.json')
         with open(routes_json) as f:
             contents = json.load(f)
             templates = contents['l10n']