We currently run a big subversion repository, and I'm trying to move it to GIT. The problem is that it uses trunks and tags below the root directory. For example:
MyDepartment\MyOS\Project1\trunk\ <-- master branch
MyDepartment\MyOS\Project1\branch\v1 <-- other branch
MyDepartment\MyOS\Project1\tags\v1_20100101 <-- release tag
There are different departments, OS's, and many different projects.
So when I clone the SVN repository using --stdlayout:
git svn clone --stdlayout http://svn-repository/
The clone ends up empty. Without the option, I get a clone, but then branches are treated as directories on the master branch.
- Is there a way to import this directory structure in one go?
- If I write a script to import all the Projects separately, is there a way to combine the per-project GIT imports into one big GIT repository?