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

Migrating from SVN

From
CBChristoph Bartoschek <bartoschek@gmx.de>
Date
Mar 22, 2010, 10:18 UTC
Message-ID
<aosj77-m7e.ln1@burns.bruehl.pontohonk.de>
Hi,

we consider migrating from Subversion to Git. However we are not sure how to cleanly migrate the history from Subversion to Git. Till now we have such a structure in a single Subversion repository:

project_A project_B project_C project_D project_E

Via svn:externals we form two products:
product_1/project_A
          project_B
          project_C
product_2/project_B
          project_C
          project_D
          project_E
Now we are merging both products into one such that the structure should be 
product/project_A
        project_B
        project_C
        project_D
        project_E

I think this makes migration to Git easier as we can now work with only one Git repository. We also circumvent the usage of the unmature submodule support in Git.

How can I now import our Subversion projects into the Git repository such that for each project the history is kept and ideally the whole history is linearized by the subversion revision numbers?

Thanks Christoph

Next: Heiko Voigt
Message 1 of 3 in “Migrating from SVN”
  1. Christoph BartoschekMar 22, 2010
  2. Heiko VoigtMar 25, 2010
  3. Christoph BartoschekMar 26, 2010

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.