if (defined($filemime) && $filemime eq 'text/plain') {
cvs_runcvs('add', $file) ||
warn("cvs add $file failed\n");
if (defined($filemime) && $filemime eq 'text/plain') {
cvs_runcvs('add', $file) ||
warn("cvs add $file failed\n");
cvs_runcvs('add', '-kb', $file) ||
warn("cvs add binary $file failed\n");
}
cvs_runcvs('add', '-kb', $file) ||
warn("cvs add binary $file failed\n");
}
# directory
cvs_runcvs('add', $file) ||
warn("cvs add $file failed\n");
# directory
cvs_runcvs('add', $file) ||
warn("cvs add $file failed\n");
error "expected Author, got $line";
}
$line = <SPSVC>;
if ($line =~ /^Date: (.*)$/) {
$when = str2time($1, 'UTC');
error "expected Author, got $line";
}
$line = <SPSVC>;
if ($line =~ /^Date: (.*)$/) {
$when = str2time($1, 'UTC');
error "expected Date, got $line";
}
$line = <SPSVC>;
if ($line =~ /^PatchSet (.*)$/) {
$rev = $1;
error "expected Date, got $line";
}
$line = <SPSVC>;
if ($line =~ /^PatchSet (.*)$/) {
$rev = $1;