summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 451e593)
raw | patch | inline | side by side (parent: 451e593)
author | Michael Smith <msmith@cbnco.com> | |
Fri, 7 Sep 2007 21:35:07 +0000 (17:35 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sat, 8 Sep 2007 04:02:39 +0000 (21:02 -0700) |
If the tag was moved in CVS or SVN history, it will be moved in the
imported history as well. Tag history is not tracked.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
imported history as well. Tag history is not tracked.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-cvsimport.perl | patch | blob | history | |
git-svnimport.perl | patch | blob | history |
diff --git a/git-cvsimport.perl b/git-cvsimport.perl
index ba23eb8eebdb841139062d4221c87515b96d8729..2954fb846e3372a648124d92b7c1a1ccbd44306f 100755 (executable)
--- a/git-cvsimport.perl
+++ b/git-cvsimport.perl
$xtag =~ tr/_/\./ if ( $opt_u );
$xtag =~ s/[\/]/$opt_s/g;
- system('git-tag', $xtag, $cid) == 0
+ system('git-tag', '-f', $xtag, $cid) == 0
or die "Cannot create tag $xtag: $!\n";
print "Created tag '$xtag' on '$branch'\n" if $opt_v;
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 8c17fb5ae240c0335ce211b19d516f54e145065f..d3ad5b904f3d025aaf89aa5a7ef2e6464fd9b5b8 100755 (executable)
--- a/git-svnimport.perl
+++ b/git-svnimport.perl
$dest =~ tr/_/\./ if $opt_u;
- system('git-tag', $dest, $cid) == 0
+ system('git-tag', '-f', $dest, $cid) == 0
or die "Cannot create tag $dest: $!\n";
print "Created tag '$dest' on '$branch'\n" if $opt_v;