git/list[1] front-page[2] threads[3] people[4] search[5] about
 

RE: Svn2git: question about --branches

From
Nnolan.ring@emc.com <nolan.ring@emc.com>
Date
Oct 1, 2010, 11:24 UTC
Message-ID
<4E10ACF241081344B9702AA8C6440440C5B15CB726@MX01A.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:
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
Previous: Jan Krüger
Message 3 of 3 in “Svn2git: question about --branches”
  1. nolan.ring@emc.comSep 30, 2010
  2. Jan KrügerSep 30, 2010
  3. nolan.ring@emc.comOct 1, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.