Don't show diffs for files that we're 'hiding'.

This commit is contained in:
terry 1998-06-19 15:13:40 +00:00
parent 1534233295
commit 15161b6d3d

View File

@ -68,7 +68,11 @@ for $k (@revs) {
$prevrev = &PrevRev($rev);
# this doesn't handle files in the attic
open( DIFF, "/tools/ns/bin/rcsdiff -c -r$prevrev -r$rev $cvsroot/$dir/$file,v 2>&1|" );
$fullname = "$cvsroot/$dir/$file,v";
if (IsHidden($fullname)) {
next;
}
open( DIFF, "/tools/ns/bin/rcsdiff -c -r$prevrev -r$rev $fullname 2>&1|" );
$_ =~ s/&/&/g;
$_ =~ s/</&lt;/g;
while(<DIFF>){