# Svn2git: question about --branches

3 messages from 2010-09-30 to 2010-10-01. Participants: nolan.ring@emc.com, Jan Krüger.
Thread: https://gitlist.dev/t/25298

## nolan.ring@emc.com, 2010-09-30 11:49

Subject: Svn2git: question about --branches
Message-ID: <4E10ACF241081344B9702AA8C6440440C5B15CB469@MX01A.corp.emc.com>
URL: https://gitlist.dev/e/4E10ACF241081344B9702AA8C6440440C5B15CB469%40MX01A.corp.emc.com

```
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, 2010-09-30 14:07

Subject: Re: Svn2git: question about --branches
Message-ID: <20100930160734.056754ec@jk.gs>
URL: https://gitlist.dev/e/20100930160734.056754ec%40jk.gs
In-Reply-To: <4E10ACF241081344B9702AA8C6440440C5B15CB469@MX01A.corp.emc.com>

```
Hi,

--- nolan.ring@emc.com <nolan.ring@emc.com> wrote:

> 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, 2010-10-01 11:24

Subject: RE: Svn2git: question about --branches
Message-ID: <4E10ACF241081344B9702AA8C6440440C5B15CB726@MX01A.corp.emc.com>
URL: https://gitlist.dev/e/4E10ACF241081344B9702AA8C6440440C5B15CB726%40MX01A.corp.emc.com
In-Reply-To: <20100930160734.056754ec@jk.gs>

```
 
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:

> 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

```
