When you check out a git repository that contains svn externals, it will simply ignore them. What people have done is create many scripts, many of them mentioned in this question How do I keep an svn:external up to date using git-svn?. The problem is that while numerous scripts are floating on the internet, I have yet to find one that was actually robust. By robust, I mean specifically:
Because these are 2 issues with my repository that seem to bring most scripts down. I have no interest in using smartgit.
Is there such a script? Does anyone have a script that is "almost there" that could be adapted to these 2 things rather quickly?
What are externals definitions? Externals definitions map a local directory to the URL of a versioned resource. The svn:externals property can be set on any versioned directory and its value is a multi-line table of subdirectories and absolute repository URLs.
The difference between Git and SVN version control systems is that Git is a distributed version control system, whereas SVN is a centralized version control system. Git uses multiple repositories including a centralized repository and server, as well as some local repositories.
No interaction between them. Just ignore the . git folder for SVN and the . svn folder for Git and you should be fine.
No, there is no perfect solution that just works. You can refer to:
How do I keep an svn:external up to date using git-svn?
git & svn externals - a final solution yet?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With