/[scripts]/trunk/svndump-move.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/svndump-move.pl

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

revision 50 by dpavlin, Fri Aug 3 21:50:54 2007 UTC revision 52 by dpavlin, Wed Aug 22 21:40:56 2007 UTC
# Line 121  __NODE_ADD_DIR__ Line 121  __NODE_ADD_DIR__
121          my $path = $rec->get_header('Node-path');          my $path = $rec->get_header('Node-path');
122          my $kind = $rec->get_header('Node-kind');          my $kind = $rec->get_header('Node-kind');
123          if ( $path ) {          if ( $path ) {
124                  $rec->set_header('Node-path', remap($path,$kind) );                  my $new_path = remap($path,$kind);
125                    if ( $new_path eq '' ) {
126                            warn "##> skipped $kind $path\n";
127                            next;
128                    }
129                    $rec->set_header('Node-path', $new_path );
130                  if ( $path = $rec->get_header('Node-copyfrom-path') ) {                  if ( $path = $rec->get_header('Node-copyfrom-path') ) {
131                          $rec->set_header('Node-copyfrom-path', remap($path,$kind) );                          $rec->set_header('Node-copyfrom-path', remap($path,$kind) );
132                  }                  }

Legend:
Removed from v.50  
changed lines
  Added in v.52

  ViewVC Help
Powered by ViewVC 1.1.26