Pull up the tigris.org page for SVN revisions, at least for now, in
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 27 Dec 2009 15:36:09 +0000 (15:36 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sun, 27 Dec 2009 15:36:09 +0000 (15:36 +0000)
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

index c314dc3390b2b7c594a640f8ddb3c3134afd3356..de12ff5b8cf3b7472d49c8ad254a911274204c7d 100644 (file)
@@ -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').