Thread (9 messages) flat view 9 messages, 3 authors, 2016-06-15

Re: git-svn questions: how to clone/init non-standard layout branches/tags?

From: Benoit SIGOURE <hidden>
Date: 2016-06-15 22:43:46

On Nov 3, 2007, at 9:19 AM, Luke Lu wrote:
There are a few svn repositories that use non-standard layout like  
this:

<path_to_project>/trunk
<path_to_project>/production
<path_to_project>/some_branch

production and some_branch are indeed branched from trunk.

1. How do you init/clone svn repositories like that?
I seem to remember that you can pass more than one `-b' option to git- 
svn clone, so I'd basically do (untested):
git svn clone <url> -T trunk -b production -b some_branch
2. Is there a way to add a new svn branch like that (say production  
or some_branch) to an existing git-svn repository that has trunk  
cloned?
I don't know, but that'd be great indeed.

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help