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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Attachment: PGP.sig
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux