真正,强大的git svn外部解决方案? [英] A true, robust, git svn externals solution?

查看:121
本文介绍了真正,强大的git svn外部解决方案?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当您检出包含svn外部对象的git存储库时,它只会忽略它们.人们所做的就是创建许多脚本,此问题中提到了许多脚本

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. 它可以处理与特定版本挂钩的svn外部
  2. 它可以处理指向文件而不是目录的svn外部对象

因为这是我的存储库中的两个问题,这些问题似乎会使大多数脚本失效.我对使用smartgit没有兴趣.

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?

推荐答案

不,没有完美的解决方案可以正常工作.您可以参考:

No, there is no perfect solution that just works. You can refer to:

如何保持svn:使用git-svn进行外部更新吗?

git& svn externals-最终解决方案了吗?

这篇关于真正,强大的git svn外部解决方案?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆