summaryrefslogtreecommitdiffstats
path: root/process_bug.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'process_bug.cgi')
-rwxr-xr-xprocess_bug.cgi10
1 files changed, 4 insertions, 6 deletions
diff --git a/process_bug.cgi b/process_bug.cgi
index f947869bf..314caee9b 100755
--- a/process_bug.cgi
+++ b/process_bug.cgi
@@ -431,6 +431,8 @@ The changes made were:
push(@oldlist, FetchOneColumn());
}
my @newlist = sort {$a <=> $b} @{$deps{$target}};
+ @dependencychanged{@oldlist} = 1;
+ @dependencychanged{@newlist} = 1;
while (0 < @oldlist || 0 < @newlist) {
if (@oldlist == 0 || (@newlist > 0 &&
@@ -459,11 +461,7 @@ The changes made were:
SendSQL("insert into dependencies ($me, $target) values ($id, $i)");
}
foreach my $k (@keys) {
- if (LogDependencyActivity($k, $snapshot{$k}, $me,
- $target)) {
- $dependencychanged{$k} = 1;
- }
-
+ LogDependencyActivity($k, $snapshot{$k}, $me, $target);
}
LogDependencyActivity($id, $oldsnap, $target, $me);
}
@@ -505,7 +503,7 @@ The changes made were:
print "<TD><A HREF=\"show_bug.cgi?id=$id\">Back To BUG# $id</A></TABLE>\n";
foreach my $k (keys(%dependencychanged)) {
- print "<TABLE BORDER=1><TD><H2>Dependency changed for bug $k</H2>\n";
+ print "<TABLE BORDER=1><TD><H2>Checking for dependency changes on bug $k</H2>\n";
system("./processmail $k $::FORM{'who'}");
print "<TD><A HREF=\"show_bug.cgi?id=$k\">Go To BUG# $k</A></TABLE>\n";
}