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

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

Next: Steven Grimm
Message 1 of 9 in “importing multi-project svn repositories”
  1. David HansonMay 6, 2007
  2. Steven GrimmMay 7, 2007
  3. Dave HansonMay 8, 2007
  4. Deprecate git-svnimport?Steven Grimm, May 8, 2007
  5. minimize_url in git-svn?Junio C Hamano, May 8, 2007
  6. Johannes SchindelinMay 8, 2007
  7. Eric WongMay 8, 2007
  8. Junio C HamanoMay 9, 2007
  9. git-svn: don't attempt to minimize URLs by defaultEric Wong, May 13, 2007

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.