I'm trying to migrate a repository from SVN to GIT using svn2git. It's an Open Source project, public SVN repository Url is: http://svn.verinice.org/svnroot/. Feel free to test the migration...
SVN repository structure is:
- BRANCHES
- TAGS
- TRUNK
I used the following command to clone this Repo:
svn2git http://svn.verinice.org/svnroot
--trunk TRUNK
--branches BRANCHES
--tags TAGS
But this command only migrates only one branch and no tags at all. I used these commands to check the result:
[user@forge git-repo]# git branch -a
* master
springy
remotes/springy
[user@forge git-repo]# git tag -l
[user@forge git-repo]#
How do I migrate all branches and tags? Thanks for your help!
UPDATE:
After using parameter --authors authors-file.txt and adding Name and Email address to git configuration svn2git works fine:
git config --global user.name "your name"
git config --global user.email "your@email.com"
You have to add a line for every SVN user in authors-file.txt:
svn-user-name = Full Name <email@address.com>
git branch -a and git tag -l now returns all branches and tags.