Update of /cvsroot/lxr/lxr/lib/LXR/Files
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22105/lib/LXR/Files
Modified Files:
CVS.pm
Log Message:
improved handling when there are no annotations
Index: CVS.pm
===================================================================
RCS file: /cvsroot/lxr/lxr/lib/LXR/Files/CVS.pm,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -d -r1.26 -r1.27
--- CVS.pm 20 Jul 2004 17:30:54 -0000 1.26
+++ CVS.pm 20 Jul 2004 18:02:00 -0000 1.27
@@ -114,7 +114,6 @@
$hrev = $cvs{'branch'}{$hrev}{'next'} || last;
my @diff = $self->getdiff( $filename, $lrev, $hrev );
- return () unless scalar @diff;
my $off = 0;
while (@diff) {
@@ -133,8 +132,8 @@
}
}
}
-
- map { $anno[$_] = $lrev if $_ ne ''; } @head;
+
+ map { $anno[$_] = $lrev if $_ ne ''; } @head;
# print(STDERR "** Anno: ".scalar(@anno).join("\n", '', @anno, ''));
return @anno;
|