diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index bdac5d51b6dfb721bb648e455cb8f3c5078217e4..cacbfc0259fd1ae353117d93e345cd8c4dd41188 100755 (executable)
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
$proxyport = $1;
}
}
+ $repo ||= '/';
# if username is not explicit in CVSROOT, then use current user, as cvs would
$user=(getlogin() || $ENV{'LOGNAME'} || $ENV{'USER'} || "anonymous") unless $user;
$xtag =~ s/\s+\*\*.*$//; # Remove stuff like ** INVALID ** and ** FUNKY **
$xtag =~ tr/_/\./ if ( $opt_u );
$xtag =~ s/[\/]/$opt_s/g;
+ $xtag =~ s/\[//g;
system('git-tag', '-f', $xtag, $cid) == 0
or die "Cannot create tag $xtag: $!\n";