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

Re: SVN to Git: trunk moved during repository history

From
Bradley Wagner <bradley.wagner@hannonhill.com>
Date
Apr 21, 2010, 14:03 UTC
Message-ID
<l2o2f0f6ced1004210703rf3ce8781kd209e99d2b577b76@mail.gmail.com>
In-Reply-To
<hqir8c$sqh$1@dough.gmane.org>

Hmm, I'm not seeing where in the documentation you would instruct it to look in multiple locations in the SVN repository's history for the trunk branch.

On Mon, Apr 19, 2010 at 8:07 PM, Stephen Kelly <steveire@gmail.com> wrote:
Show 35 quoted lines
> Bradley Wagner wrote:
>
>> I'm trying to port an SVN project to Git. We have gone through
>> multiple layouts for our SVN repository. It started off with just a
>> mainline branch in the root folder. Then we went to the standard
>> layout (branches, trunk, tags).
>>
>> The problem is that when I do a "git svn clone --stdlayout" of the
>> repository, it's not picking up any of the revisions from when the
>> trunk previously resided in the root directory.
>> Is there any way to specify that the trunk had multiple paths the way
>> you can specify multiple branch folders with -b flag? What would be
>> the best course of action for reporting an SVN repo who's layout had
>> changed during its history?
>
> One option is svn2git
>
> http://gitorious.org/svn2git/svn2git
>
> http://techbase.kde.org/Projects/MoveToGit/UsingSvn2Git
>
> examples:
>
> http://gitorious.org/svn2git/kde-ruleset
>
>>
>> Thanks,
>> Bradley
>
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
Previous: Stephen KellyNext: Ulrich Spörlein
Message 3 of 5 in “SVN to Git: trunk moved during repository history”
  1. Bradley WagnerApr 19, 2010
  2. Stephen KellyApr 20, 2010
  3. Bradley WagnerApr 21, 2010
  4. Ulrich SpörleinApr 23, 2010
  5. Bradley WagnerApr 27, 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.