Re: Branches with git-svn
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Sep 19, 2008, 12:35 UTC
- Message-ID
- <48D39C7B.9020709@drmicha.warpmail.net>
- In-Reply-To
- <1221819302.6784.4.camel@zdra-laptop>
Xavier Claessens venit, vidit, dixit 19.09.2008 12:15:
Show 10 quoted lines
> Hi, > > I created a git repository using "git-svn clone <url>" a long time ago. > But now I realise that I don't get SVN branches into my git repository. > I see that the doc tells to use "git clone -t tags -b branches -T trunk > <url>" to create the repository. If I create a new repository with that > command, I get branches and tags. > > However I have lots of contributors having branches based on my git > repository. Is there a way to add SVN branch to my existing git repo?
If you haven't use those options back then, then what was the svn repo structure - no trunk, just main? Did you change the structure now?
If you git-svn fetch from that new structure then all your new branches etc. will show up as subdirectories, which is most certainly not what you want.
So, what was the structure in svn like before, and have your contributors based their branches on the mis-imported new structure already?
Michael