git-svn: multiple fetch lines
- From
Nathan Gray <n8gray@n8gray.org>
- Date
- Dec 16, 2011, 19:51 UTC
- Message-ID
- <CA+7g9Jxd3mhbra34f+MiJRt36Lb6gVHi1nOCP8Zo5y-G9jB3qA@mail.gmail.com>
Hello,
I'm in a conversation with the support fellow of the very nice Tower git interface for OS X and we need clarification on a point. Does git-svn explicitly support multiple "fetch =" lines in an svn-remote section or is it just an accident that it works? My belief is that such support is intended and his is that it is accidental.
You can see a more detailed explanation of why you would want to use multiple fetch lines on this fellow's blog post:
http://davegoodell.blogspot.com/2009/04/multiple-remote-branches-in-git-svn.html
My company's svn server layout is a bit of a mess and to work around that I've been using multiple "fetch" lines in git-svn's config:
[svn-remote "svn"]
url = https://... # The trunk
fetch = foo/trunk/Product:refs/remotes/trunk # Some individual branches from messy directories that I can't use globs on
fetch = foo/branches/Developers/Nathan/Project/Product:refs/remotes/product-orig
fetch = foo/branches/august-demo/Product:refs/remotes/august-demo # A well-organized branches folder that I can use a glob for
branches = foo/branches/Product/*:refs/remotes/branches/*# etc...
Tower doesn't currently support such configurations and I'd like to convince them that this is a perfectly sensible thing to do.
Thanks, -Nathan
-- HexaLex: A New Angle on Crossword Games for iPhone and iPod Touch http://hexalex.com On The App Store: http://bit.ly/8Mj1CU On Facebook: http://bit.ly/9MIJiV On Twitter: http://twitter.com/hexalexgame http://n8gray.org