Fix A/B testing after r198503.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Mar 2016 00:22:14 +0000 (00:22 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Mar 2016 00:22:14 +0000 (00:22 +0000)
* public/include/build-requests-fetcher.php:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@198508 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Websites/perf.webkit.org/ChangeLog
Websites/perf.webkit.org/public/include/build-requests-fetcher.php

index 84956a1..46baeb8 100644 (file)
@@ -1,5 +1,11 @@
 2016-03-21  Ryosuke Niwa  <rniwa@webkit.org>
 
+        Fix A/B testing after r198503.
+
+        * public/include/build-requests-fetcher.php:
+
+2016-03-21  Ryosuke Niwa  <rniwa@webkit.org>
+
         Analysis task page is broken after r198479
         https://bugs.webkit.org/show_bug.cgi?id=155735
 
index 7eef3e5..52904c1 100644 (file)
@@ -92,7 +92,7 @@ class BuildRequestsFetcher {
 
         $root_ids = array();
         foreach ($root_rows as $row) {
-            $repository_id = $row['commit_repository'];
+            $repository_id = $resolve_ids ? $row['repository_name'] : $row['repository_id'];
             $revision = $row['commit_revision'];
             $commit_time = $row['commit_time'];
             array_push($root_ids, $row['commit_id']);