зеркало из https://github.com/mozilla/pjs.git
Fix busted guilty column.
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:
Родитель
81a2551c31
Коммит
8750689ba6
|
@ -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];
|
||||
|
|
Загрузка…
Ссылка в новой задаче