I initialized the Git repository with: git svn init https://path/to/proj
Then I updated the .git / config file to indicate the location of the branches / tags:
fetch = cascade/trunk:refs/remotes/trunk
branches = cascade/branches/{feature-branch1,feature-branch2}:refs/remotes/*
branches = cascade/branches/{6.x,5.x,4.x,3.x,archive}/*:refs/remotes/*
tags = cascade/tags/{3.7.x,4.x,5.x,6.x,old-releases}/*:refs/remotes/tags/*
Then I typed in revisions 5000 at a time:
git svn -r1:5000 -A/path/to/mapping/file fetch
git svn -r5000:10000 -A/path/to/mapping/file fetch
git svn -r10000:14000 -A/path/to/mapping/file fetch
git svn fetch
The problem is that after git logtelling me that the last revision in my main branch is the one that is displayed from version 5vvn. What gives?
source
share