Index: CVSROOT/shiela RCS File: /v/ossp/cvs/CVSROOT/shiela,v rcsdiff -q -kk '-r1.5' '-r1.6' -u '/v/ossp/cvs/CVSROOT/shiela,v' 2>/dev/null --- shiela 2000/07/18 15:45:33 1.5 +++ shiela 2001/05/11 19:50:26 1.6 @@ -1182,7 +1182,8 @@ my @newfiles = (); foreach my $cvsfile (@cvsfiles) { my $branch = 'HEAD'; - if ($cvsstat =~ m|===+\nFile:\s+$cvsfile.+?Sticky Tag:\s+(\S+)|s) { + my $cvsfile_quoted = quotemeta($cvsfile); + if ($cvsstat =~ m|===+\nFile:\s+${cvsfile_quoted}.+?Sticky Tag:\s+(\S+)|s) { $branch = $1; $branch = 'HEAD' if ($branch eq '(none)'); }