threads / discuss / 35272

Importing from subversion with full history

Subject: Importing from subversion with full history

## tl;dr

One message between Nov 4, 2013 and Nov 4, 2013.

replies: 0people: 1as markdown or json

Oded Arbel· Nov 4, 2013, 07:50 UTC · lore

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

← back to recent threads