Missing tags after SVN to Git conversion

Viewed 3339

I'm trying to convert a Subversion repository to a Git repository using the following commands.:

git svn clone URL_TO_SVN/PROJECT --authors-file=users.txt -T trunk -b branches -t tags/release

The only thing that differs from the SVN standard layout is that the SVN tags stored under tags/release.

After moving the SVN tags to be proper Git tags:

cp -Rf .git/refs/remotes/origin/tags/release/* .git/refs/tags/
rm -Rf .git/refs/remotes/origin/tags

I only get a few tags, but not all SVN tags are now Git tags.

In the SVN repo are tags from version 0.1 up to 0.35.2, but in the Git repo I only have the tags 0.33.10, 0.34.0, 0.34.1, 0.34.2, 0.35.0, 0.35.1, 0.35.2.

How can I convert all SVN tags to Git tags?

2 Answers
Related