importing multi-project svn repositories
- From
David Hanson <drh@drhanson.net>
- Date
- May 6, 2007, 18:56 UTC
- Message-ID
- <C05C5EF4-EC68-490B-946E-630117393F4E@drhanson.net>
What's the recommended way to import the full history from an svn repository organized as a group of projects? E.g., as described at http://svnbook.red-bean.com/nightly/en/ svn.reposadmin.planning.html#svn.reposadmin.projects.chooselayout:
/
calc/
trunk/
tags/
branches/
calendar/
trunk/
tags/
branches/
spreadsheet/
trunk/
tags/
branches/
…I'd like to import calc at the top level, put calc/tags/foo in git's tags/calc/foo and calc/branches/baz in git's heads/calc/baz. Ditto for calendar, spreadsheet, etc.
I suspect there's a way to use git-svnimport repeatedly with appropriate editing of .git/svn2git. thanks, dave h