diffcore-break/diffcore-rename: integer overflow.
[gitweb.git] / git-cvsimport.perl
index efe193439bda26d72be3f94b9dd164013967b14f..8619e7d18382ae41f87b5959b9233718ed99def6 100755 (executable)
@@ -502,7 +502,7 @@ ($$)
        if ($opt_P) {
            exec("cat", $opt_P);
        } else {
-           exec("cvsps",@opt,"-u","-A",'--root',$opt_d,$cvs_tree);
+           exec("cvsps","--norc",@opt,"-u","-A",'--root',$opt_d,$cvs_tree);
            die "Could not start cvsps: $!\n";
        }
 }
@@ -649,6 +649,7 @@ ($$)
                my($xtag) = $tag;
                $xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **
                $xtag =~ tr/_/\./ if ( $opt_u );
+               $xtag =~ s/[\/]/$opt_s/g;
                
                my $pid = open2($in, $out, 'git-mktag');
                print $out "object $cid\n".