From 47b0c49303035bd62842b6da0464f84788d11ab3 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sun, 27 Dec 2009 15:36:09 +0000 Subject: [PATCH] Pull up the tigris.org page for SVN revisions, at least for now, in response to clicks on the detailed graph. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4582 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- timings/graph.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/timings/graph.html b/timings/graph.html index c314dc33..de12ff5b 100644 --- a/timings/graph.html +++ b/timings/graph.html @@ -165,7 +165,14 @@ function on_clicked_plot(prev_cl, cl) { // Define sources for detail tabs if ('view-change' in Config.detailTabs) { document.getElementById('view-change'). - setAttribute('src', Config.changeLinkPrefix + prev_cl + ':' + cl); + // TODO: The tigris.org source browser only lets us pull up + // one revision. That's okay for our current behavior of + // timing each revision separately, but if we go back to merging + // build requests from multiple revisions, we'll need an + // intermediary CGI script. + //setAttribute('src', Config.changeLinkPrefix + prev_cl + ':' + cl); + setAttribute('src', + 'http://scons.tigris.org/source/browse/scons?view=rev&revision=' + cl); } if ('view-pages' in Config.detailTabs) { document.getElementById('view-pages'). -- 2.26.2