Changeset 217259 in webkit


Ignore:
Timestamp:
May 22, 2017 5:29:47 PM (7 years ago)
Author:
jmarcell@apple.com
Message:

Do not enter Subversion-specific logic when parsing Git-based Trac data.
https://bugs.webkit.org/show_bug.cgi?id=172433
<rdar://problem/32234188>

Reviewed by Alexey Proskuryakov.

  • BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:

(Trac.prototype._convertCommitInfoElementToObject):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js

    r212729 r217259  
    180180            title.firstChild.textContent = title.firstChild.textContent.substring(1);
    181181
     182        // We have an overidden timeline.rss that adds git branches to the Trac timeline RSS output (rdar://problem/23853623).
     183        var gitBranches = doc.evaluate("./branches", commitElement, null, XPathResult.STRING_TYPE).stringValue;
     184
    182185        var result = {
    183186            revisionNumber: revisionNumber,
     
    191194        };
    192195
    193         if (result.containsBranchLocation) {
     196        if (result.containsBranchLocation && !gitBranches) {
    194197            console.assert(location[location.length - 1] !== "/");
    195198            location = location += "/";
     
    211214        }
    212215
    213         var gitBranches = doc.evaluate("./branches", commitElement, null, XPathResult.STRING_TYPE).stringValue;
    214216        if (gitBranches) {
    215217            result.containsBranchLocation = true;
  • trunk/Tools/ChangeLog

    r217249 r217259  
     12017-05-22  Jason Marcell  <jmarcell@apple.com>
     2
     3        Do not enter Subversion-specific logic when parsing Git-based Trac data.
     4        https://bugs.webkit.org/show_bug.cgi?id=172433
     5        <rdar://problem/32234188>
     6
     7        Reviewed by Alexey Proskuryakov.
     8
     9        * BuildSlaveSupport/build.webkit.org-config/public_html/dashboard/Scripts/Trac.js:
     10        (Trac.prototype._convertCommitInfoElementToObject):
     11
    1122017-05-22  Tim Horton  <timothy_horton@apple.com>
    213
Note: See TracChangeset for help on using the changeset viewer.