Migrating from SVN
From: Christoph Bartoschek <hidden>
Date: 2016-06-15 22:48:28
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