Re: git-svn: Fetch svn branches only and have git recognize them as branches?

2015-03-16 Thread Brian Koehmstedt
Just to close the loop on this, I wasn't able to get git-svn to deal with this remote repository the way I wanted, so what I did is write some perl scripts to mirror the remote subversion repository locally and then use git-svn on that local "fixed" svn mirror. The hard part was mirroring the svn

Re: git-svn: Fetch svn branches only and have git recognize them as branches?

2015-03-12 Thread Brian Koehmstedt
Junio C Hamano pobox.com> writes: > > git svn init --minimize-url \ > --trunk http://repository-root/foo/trunk \ > --branches http://repository-root/foo/branches \ > --tags http://repository-root/foo/tags > > And this is where the new --minimize-url command-line switch

git-svn: Fetch svn branches only and have git recognize them as branches?

2015-03-12 Thread Brian Koehmstedt
I'm trying deal with a project where the server is disallowing access to the root URL on the subversion server. i.e., Doesn't allow access: http://abc.com/repo Does allow access: http://abc.com/repo/trunk, http://abc.com/repo/branches, http://abc.com/repo/tags I know I can git-svn to clone each s