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

Re: SVN to Git: trunk moved during repository history

From
SKStephen Kelly <steveire@gmail.com>
Date
Apr 20, 2010, 00:07 UTC
Message-ID
<hqir8c$sqh$1@dough.gmane.org>
In-Reply-To
<o2i2f0f6ced1004191418i6a144652sd9ac38b07fb7b661@mail.gmail.com>
Bradley Wagner wrote:
Show 12 quoted lines
> 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
Previous: Bradley WagnerNext: Bradley Wagner
Message 2 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.