Re: git-svn questions: how to clone/init non-standard layout branches/tags?
- From
Benoit SIGOURE <tsuna@lrde.epita.fr>
- Date
- Nov 3, 2007, 10:56 UTC
- Message-ID
- <87597D7C-60FB-4CD8-BB27-7E870001A899@lrde.epita.fr>
- In-Reply-To
- <756D5EE2-FB2C-48DB-8242-14E154E34A9C@vicaya.com>
On Nov 3, 2007, at 9:19 AM, Luke Lu wrote:
Show 10 quoted lines
> 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