|   Created Codestriker topic at:
  http://codestriker.sourceforge.net/cgi-bin/codestriker.pl?topic=3044597&action=view&brmode=1&fview=-1
  User: sits    
  Date: 04/11/11 20:07:24
  Modified:    lib/Codestriker/FileParser VssDiff.pm
  Log:
  Handle the Version not found lines
  
  
  
  Index: VssDiff.pm
  ===================================================================
  RCS file: /cvsroot/codestriker/codestriker/lib/Codestriker/FileParser/VssDiff.pm,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- VssDiff.pm	21 Oct 2004 07:08:28 -0000	1.6
  +++ VssDiff.pm	12 Nov 2004 04:07:22 -0000	1.7
  @@ -30,7 +30,8 @@
   	my $repmatch;
   
   	# Skip whitespace.
  -	while (defined($line) && $line =~ /^\s*$/o) {
  +	while (defined($line) &&
  +	       ($line =~ /^\s*$/o || $line =~ /^Version not found/o)) {
   	    $line = <$fh>;
   	}
   	return @result unless defined $line;
  @@ -38,7 +39,6 @@
   	# For VSS diffs, the start of the diff block is the "Diffing:" line
   	# which contains the filename and version number.  Some diffs may
   	# not contain the version number for us.
  -	return () unless defined $line;
   	if ($line =~ /^Diffing: (.*);(.+)$/o) {
   	    $filename = $1;
   	    $revision = $2;
  
  
  
 |