I'm trying to convert an SVN repository containing a Java EE application into a Git repository. The original repository contains a folder for each part of the Java EE project which has been maintained as separate projects history-wise. For two of the projects there's also a "production"-branch (again, two separate branches) and whenever a new revision goes into production trunk is merged up into production.
When I import this into one single git repository (as I understand would be best practice) everything in master is fine, but when I switch to a branch I only get the files of that branch and most of the other folders and files disappear.
Repository layout:
/
trunk/
project1/
project2/
project3/
project4/
branches/
project3-production-branch/
project4-production-branch/
tags/
I found a post by Eric Gwin about this issue, but I couldn't see there was any solutions to it. http://comments.gmane.org/gmane.comp.ide.eclipse.git/77
I might be overlooking something very elementary here, but I do fear that the only solution is to import the projects separetely? Any suggestions to how I can import the whole SVN-repo and get working branches in Git?