Bug 1166355 - HTML formatter generates correct link for the gecko revision to hg.mozilla.org r=jgraham
☠☠ backed out by 263279adce20 ☠ ☠
authorAsfiya <asfiyab95@gmail.com>
Tue, 26 Feb 2019 11:35:23 +0000
changeset 518949 615d38401d4983a70991c6256b8eb68dd39ce156
parent 518948 e5fc352e6d65edd56d5833eaa6a49c0543189eab
child 518950 263279adce20c07bef7db8b8b97bd9cffaa90f22
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1166355
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1166355 - HTML formatter generates correct link for the gecko revision to hg.mozilla.org r=jgraham The HTML formatter now references the correct link and does not produce a 404 error Differential Revision: https://phabricator.services.mozilla.com/D21207
testing/mozbase/mozlog/mozlog/formatters/html/html.py
--- a/testing/mozbase/mozlog/mozlog/formatters/html/html.py
+++ b/testing/mozbase/mozlog/mozlog/formatters/html/html.py
@@ -71,17 +71,17 @@ class HTMLFormatter(base.BaseFormatter):
             self.env["Gecko version"] = version_info.get("application_version")
             self.env["Gecko build"] = version_info.get("application_buildid")
 
             if version_info.get("application_changeset"):
                 self.env["Gecko revision"] = version_info.get("application_changeset")
                 if version_info.get("application_repository"):
                     self.env["Gecko revision"] = html.a(
                         version_info.get("application_changeset"),
-                        href="/".join([version_info.get("application_repository"),
+                        href="/rev/".join([version_info.get("application_repository"),
                                        version_info.get("application_changeset")]),
                         target="_blank")
 
             if version_info.get("gaia_changeset"):
                 self.env["Gaia revision"] = html.a(
                     version_info.get("gaia_changeset")[:12],
                     href="https://github.com/mozilla-b2g/gaia/commit/%s" % version_info.get(
                         "gaia_changeset"),