In my company we are about to switch from svn to git. The SVN we use is very big, doesn't have a svn layout and on every version split we made a svn copy.
SVN Repository structur:
- svnserver.company.de
- product xy
- majorversionnumber 1
- majorversionnumber 2
- majorversionnumber 3
- minorversionnumber 3.0.0
- minorversionnumber 3.0.1
- minorversionnumber ...
- majorversionnumber 4
- ....
- product zw
- product xy
What we want or what i was expecting git to do:
git svn clone does clone all files from one subfolder / copy with the full history of these files (like tortoise does by unchecking "Stop on copy/rename").
What git is doing:
git svn clone --prefix=origin/ --username=spe --authors-file=authors.txt https://svnserver.company.de/repos/product/majorversionnumber/Master/Source product
-> does clone all files from one subfolder / copy but only with the history until the copy has taken place.
The Question:
Has git a equivalent to svns "Stop on copy/rename" or how to clone full history despite svn copy?
What i have found so far: Git-svn - import full history Work-around for failing "git svn clone" (requiring full history) https://github.com/githubtraining/zzz_deprecated-feedback/issues/43
To be honest, i didn't understand the solution approaches of these links neighter if they had the same problem as we do.