This question might be down to the fact I don't understand how branching works technically in SVN and Git.
But when I use svn2git some of the branches are in refs/remotes/ and some are not. For instance trunk is /refs/remotes/trunk.
And when I check the master branch in the new git repo, it is not the svn trunk but some old branch from last year (and it looks like it's selected completely random). Tags are moved correctly.
If I look at the svn repo in Trac, it does look like the layout is correct (trunk, branches, tags) and the trunk points to where it should. It also looks like the branches that are shown correctly (no remotes) are in .git/config, the rest aren't.
What's going on here and what should I do to convert the svn repo correctly? Should I just add defintions for the remote branches to .git/config as well? This wouldn't solve the trunk problem, however.
EDIT: I just realised something: thre remotes are exactly the same as the local branches with the difference that there is a local branch "master" and remote branch "remotes/trunk", all other 19 branches seem similar. Problem seems to be that master is not pointing to "remotes/trunk" but rather to some random commit.
Is this just a bug in svn2git?