--- trunk/svn2cvs.pl 2007/11/02 11:49:09 46 +++ trunk/svn2cvs.pl 2007/11/02 12:11:31 47 @@ -104,7 +104,8 @@ next if in_entries($curr_dir); next if ( -e "$curr_dir/CVS" ); - log_system( "$cvs add '$curr_dir'", "cvs add of $curr_dir failed" ); + log_system( "touch '$curr_dir/.keepme'", "creation of .keepme file (to keep $curr_dir alive in CVS) failed" ); + log_system( "$cvs add '$curr_dir' '$curr_dir/.keepme'", "cvs add of $curr_dir failed" ); } } @@ -262,7 +263,7 @@ open( my $fh, "./$dir/CVS/Entries" ) || return 0; #die "no entries file: $dir/CVS/Entries"; while (<$fh>) { - return 1 if (m{^/$file/}); + return 1 if (m{^D?/$file/}); } close($fh); return 0;