]> xenbits.xensource.com Git - osstest.git/commitdiff
cs-bisection-step: Use tree URLs from latest flight, not basis pass flight-24287 flight-24288 flight-24289 flight-24293 flight-24294 flight-24296 flight-24298 flight-24299 flight-24300 flight-24301 flight-24302 flight-24303 flight-24306 flight-24308 flight-24309 flight-24310 flight-24311 flight-24312 flight-24313 flight-24314 flight-24315 flight-24316 flight-24317 flight-24318 flight-24319 flight-24320 flight-24322 flight-24323 flight-24324 flight-24325 flight-24326 flight-24328 flight-24329 flight-24330 flight-24331 flight-24332 flight-24333 flight-24334 flight-24335 flight-24336 flight-24338 flight-24340 flight-24341 flight-24342 flight-24343 flight-24344 flight-24345 flight-24347 flight-24348 flight-24349 flight-24350 flight-24351
authorIan Jackson <ian.jackson@eu.citrix.com>
Mon, 6 Jan 2014 13:52:58 +0000 (13:52 +0000)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Mon, 6 Jan 2014 13:52:58 +0000 (13:52 +0000)
We (both in adhoc-revtuple-generator and in the eventual build job)
(when using git) clone a particular url and then expect that the
resulting tree has all of the relevant revisions in it.

If a push gate has a different input tree to output tree, it is
necessary to use the output tree.  And, if the tree has moved, it is
probably more useful to use the new url than the old.

So it is more proper to use the tree url from the last flight found,
rather than that from the basis pass.  Do that.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
cs-bisection-step

index 164795a0bfafc1c686e5ca7457dbfa37e2495bdb..07e8539cddf2dce6f6f0afa3ccd9db1ca3a7884e 100755 (executable)
@@ -439,7 +439,7 @@ sub digraph_whole () {
         if (defined $basispass_rmap->{$tree}) {
             push @treeinfos, {
                 Name => $tree,
-                Url => $basispass_rmap->{$tree}{Url}
+                Url => $latest_rmap->{$tree}{Url}
             };
         } else {
             print STDERR "(tree in latest but not in basispass: $tree)\n";