threads / discuss / 25298

Svn2git: question about --branches

Subject: Svn2git: question about --branches

## tl;dr

3 messages between Sep 30, 2010 and Oct 1, 2010.

replies: 2people: 2as markdown or json

nolan.ring@emc.com· Sep 30, 2010, 11:49 UTC · lore
Hi,
Our svn directory structure at the top level is:

trunk branches REbranches tags

Branches is developer branches; REbranches is release engineering branches.  Is there any way to specify both using --branches?  If not, what's the best way to convert both of them?
Thanks much for your help.
Nolan Ring
Jan Krüger· Sep 30, 2010, 14:07 UTC · re: nolan.ring@emc.com · lore

Re: Svn2git: question about --branches

Hi,
--- nolan.ring@emc.com <nolan.ring@emc.com> wrote:
Show 7 quoted lines
> Our svn directory structure at the top level is:
> [...]
> branches
> REbranches
> [...]
> Branches is developer branches; REbranches is release engineering
> branches.  Is there any way to specify both using --branches?

Yep... just use --branches twice. The documentation for these options even mentions that you can do that, actually. Just saying. :)

-Jan
nolan.ring@emc.com· Oct 1, 2010, 11:24 UTC · re: Jan Krüger · lore

RE: Svn2git: question about --branches

 
Thanks for your response.  I'm sorry that I missed it in the documentation.
I'm trying using --branches twice but the init command that the -v option returns would seem to indicate that "--branches branches" isn't being picked up.

pocadmin@usd-ubuntu-poc:~/pocc4core$ svn2git -v --trunk sspg --branches branches --branches REbranches --tags tags http://poc.emc.com/svn/repos/pocc4core/c4 Running command: git svn init --no-metadata --trunk=sspg --tags=tags --branches=REbranches http://poc.emc.com/svn/repos/pocc4core/c4 Initialized empty Git repository in /home/pocadmin/pocc4core/.git/ Using higher level of URL: http://poc.emc.com/svn/repos/pocc4core/c4 => http://poc.emc.com/svn/repos/pocc4core Running command: git svn fetch

The conversion completed overnight and only REbranches was converted.  Nothing under branches was converted.  Assuming my syntax is correct is there anything else that's obviously wrong?
Thanks again.
-----Original Message-----
From: git-owner@vger.kernel.org [mailto:git-owner@vger.kernel.org] On Behalf Of Jan Krüger
Sent: Thursday, September 30, 2010 10:08 AM
To: Ring, Nolan
Cc: git@vger.kernel.org
Subject: Re: Svn2git: question about --branches
Hi,
--- nolan.ring@emc.com <nolan.ring@emc.com> wrote:
Show 7 quoted lines
> Our svn directory structure at the top level is:
> [...]
> branches
> REbranches
> [...]
> Branches is developer branches; REbranches is release engineering
> branches.  Is there any way to specify both using --branches?

Yep... just use --branches twice. The documentation for these options even mentions that you can do that, actually. Just saying. :)

-Jan

← back to recent threads