A true, robust, git svn externals solution?

不羁岁月 提交于 2019-11-29 11:22:26

问题


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?


回答1:


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?



来源:https://stackoverflow.com/questions/11939942/a-true-robust-git-svn-externals-solution

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!