I am trying to use Git with Subversion via git svn with a Subversion repository that has multiple projects in it. The project structure looks like this:
Root/
*Project1/
trunk/
tags/
SpecificBranchName1/
SpecificBranchName2/
Project2/
trunk/
tags/
SpecificBranchName1/
etc.
I'm able to get Project1 into a git repo by doing git svn clone -s http://path/to/repo/Root/Project1 --no-follow-parent
. However the trunk, tags, and SpecificBranchName1 and SpecificBranchName2 are in my tree structure.
If I remove the --no-follow-parent flag, I get an error message saying, "Couldn't find revmap for http://path/to/repo/Root/Project1/SpecificBranchName1". I get the same message if I try: git svn clone -T trunk -t tags -b . http://path/to/repo/Root/Project1
I don't really need the branch in my git repo, so I tried skipping it with: git svn clone -s --ignore-paths="^SpecificBranchName1" http://path/to/repo/Root/Project1
, but got the same error.
From what I can tell, this Subversion file structure is odd. Usually branches are under ./branches, but for some reason they are included in the same file path as tags and trunk. Is there anyway to get past this?