Bonsai's query_checkins call has become pickier; now it wants to be
run from inside the bonsai directory, and wants the $::TreeID variable
to be set correctly.

This stuff is all too fragile to believe.
This commit is contained in:
terry%mozilla.org 1999-07-24 04:47:57 +00:00
Родитель 81a2551c31
Коммит 8750689ba6
1 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -80,14 +80,16 @@ sub build_who {
$query_module=$cvs_module;
$query_branch=$cvs_branch;
$result = &query_checkins;
open(WHOLOG, ">$tree/who.dat" );
chdir "../bonsai";
$::TreeID = $bonsai_tree;
$result = &query_checkins(%mod_map);
$last_who='';
$last_date=0;
open(WHOLOG, ">$tree/who.dat" );
for $ci (@$result) {
if( $ci->[$CI_DATE] != $last_date || $ci->[$CI_WHO] != $last_who ){
if( $ci->[$CI_DATE] != $last_date || $ci->[$CI_WHO] ne $last_who ){
print WHOLOG "$ci->[$CI_DATE]|$ci->[$CI_WHO]\n";
}
$last_who=$ci->[$CI_WHO];