/[svn2cvs]/trunk/svn2cvs.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/svn2cvs.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 28 by dpavlin, Thu Aug 16 15:27:49 2007 UTC revision 30 by dpavlin, Mon Aug 20 08:37:22 2007 UTC
# Line 294  foreach my $e (@{$xml->{'logentry'}}) { Line 294  foreach my $e (@{$xml->{'logentry'}}) {
294                  $msg =~ s/'/'\\''/g;    # quote "                  $msg =~ s/'/'\\''/g;    # quote "
295    
296                  if ($action =~ /M/) {                  if ($action =~ /M/) {
297                          print "svn2cvs: modify $path -- nop\n";                          if ( in_entries( $path ) ) {
298                                    print "svn2cvs: modify $path -- nop\n";
299                            } else {
300                                    print "WARNING: modify $path which isn't in CVS, adding...\n";
301                                    log_system("$cvs add '$path'", "cvs add of $path failed");
302                            }
303                  } elsif ($action =~ /A/) {                  } elsif ($action =~ /A/) {
304                          if (-d $path) {                          if (-d $path) {
305                                  add_dir($path, $msg);                                  add_dir($path, $msg);

Legend:
Removed from v.28  
changed lines
  Added in v.30

  ViewVC Help
Powered by ViewVC 1.1.26