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

Importing from subversion with full history

From
OAOded Arbel <oded@geek.co.il>
Date
Nov 4, 2013, 07:50 UTC
Message-ID
<CAOqhUvzXUmF3bSX6ShQ3DpBGLgQfGyeUBabY=YkORSpSa0bvcQ@mail.gmail.com>

I'm trying to import our team's old subversion repository to git, but I'd like to retain the commit history. I tried 'git svn clone' but that only retrieves commits from the last copy onwards.

Because the svn setup is really bad, there is no way I can reproduce the "stdlayout" structure that 'git svn' likes, or any other structure where the trunk isn't a just few versions down from a copy.

Is there a way to have 'git svn' not do "--stop-on-copy" when fetching history? I'm perfectly fine with getting a simple linear history (because trying to do anything else with our svn setup will put our sanity in danger), but I couldn't find any documentation on how to do so.

Thanks in advance,
-- 
Oded
Message 1 of 1 in “Importing from subversion with full history”
  1. Oded ArbelNov 4, 2013

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.