From: Benoit SIGOURE Date: Sat, 03 Nov 2007 10:56:35 GMT Subject: Re: git-svn questions: how to clone/init non-standard layout branches/tags? 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: > There are a few svn repositories that use non-standard layout like > this: > > /trunk > /production > /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 -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