Using git svn with some awkward permissions
- by Migs
Due to some funky permissions on our client's side that we can't change, we have a project whose hierarchy looks something like:
projectname/trunk: foo/, bar/, baz/
projectname/branches: branch1/, branch2/
(where branch1 and branch2 each contain foo, bar, and baz.)
The thing is, I have no permission to access trunk, so I can't just do a clone of project/trunk. I do have permission to access branches.
What I am currently doing is checking out each subdirectory individually via git svn clone, so that each one has their own git repo. I use a script to update/commit them all, but what I would prefer to do is to check them all out under a single repo, and be able to commit changes with a single call to git svn dcommit. Is this possible?
I mentioned the branches hierarchy because if possible, I'd also like to be able to track the branches the way I could if the permissions were more sane.
I've tried permuting a lot of options that sounded useful, but I haven't found one that gives me exactly what I want. I sense that the solution may have something to do with --no-minimize-url, but I'm not even sure about that, as it didn't help me when I tried it.