A true, robust, git svn externals solution?

newmanne picture newmanne · Aug 13, 2012 · Viewed 14.4k times · Source

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:

  1. It can handle svn externals pegged to a particular revision
  2. It can handle svn externals that point to a file instead of a directory

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?

Answer

Atilla Filiz picture Atilla Filiz · Sep 27, 2012

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?