From: Ian Jackson Date: Mon, 6 Jan 2014 13:52:58 +0000 (+0000) Subject: cs-bisection-step: Use tree URLs from latest flight, not basis pass X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ee1a195ab1b5a76239532bdd03a797a958d3772e;p=people%2Fdariof%2Fosstest.git cs-bisection-step: Use tree URLs from latest flight, not basis pass 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 --- diff --git a/cs-bisection-step b/cs-bisection-step index 164795a..07e8539 100755 --- a/cs-bisection-step +++ b/cs-bisection-step @@ -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";