]> xenbits.xensource.com Git - people/dariof/osstest.git/commitdiff
cs-bisection-step: Use tree URLs from latest flight, not basis pass
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";