Importing from subversion with full history
- From
- Oded 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