git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn: multiple fetch lines
@ 2011-12-16 19:51 Nathan Gray
  2011-12-17 10:05 ` Jonathan Nieder
  0 siblings, 1 reply; 11+ messages in thread
From: Nathan Gray @ 2011-12-16 19:51 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-05-15  2:00 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-16 19:51 git-svn: multiple fetch lines Nathan Gray
2011-12-17 10:05 ` Jonathan Nieder
2011-12-19 21:40   ` Nathan Gray
2011-12-20  1:22     ` [RFC/PATCH 0/2] " Jonathan Nieder
2011-12-20  1:23       ` [PATCH 1/2] git-svn: multiple fetch/branches/tags keys are supported Jonathan Nieder
2011-12-20  6:42         ` Nathan Gray
2011-12-20  1:24       ` [PATCH 2/2] git-svn: clarify explanation of --destination argument Jonathan Nieder
2013-05-13 21:30       ` [PATCH resend 0/2] git-svn: improve documentation of multiple fetch lines Jonathan Nieder
2013-05-13 21:31         ` [PATCH 1/2] git-svn: multiple fetch/branches/tags keys are supported Jonathan Nieder
2013-05-13 21:32         ` [PATCH 2/2] git-svn: clarify explanation of --destination argument Jonathan Nieder
2013-05-15  2:00         ` [PATCH resend 0/2] git-svn: improve documentation of multiple fetch lines Eric Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).