diff --git a/mozilla/webtools/bonsai/cvsquery.pl b/mozilla/webtools/bonsai/cvsquery.pl index da5599f7555..04a0b52005b 100755 --- a/mozilla/webtools/bonsai/cvsquery.pl +++ b/mozilla/webtools/bonsai/cvsquery.pl @@ -159,6 +159,12 @@ sub query_checkins { } } + if (0 < @::query_dirs) { + foreach my $i (@::query_dirs) { + $qstring .= " and dirs.dir like " . SqlQuote("$i%"); + } + } + if (defined $::query_file && $::query_file ne '') { my $q = SqlQuote($::query_file); $::query_filetype ||= "exact";