Is it possible to have a git repository as a “vendor branch” in subversion?

让人想犯罪 __ 提交于 2019-12-13 14:19:31

问题


Is it possible to have a git repository as a "vendor branch" in subversion?

In this project we will have several parts, but some parts will use svn and some will use git. So I am looking into a "project root" from where we can have the other projects as vendor branches (or similar).

And the question is if it is possible manage this "project root" with subversion?

Thanks Johan


The inverse question can be found here:

  • Is it possible to have a subversion repository as a “submodule” in git?

Update:

Thanks VonC for pointing out that the answer is "no it is not possible". but the inverse is (so I will probably focus on that question instead).


回答1:


I would rather:

  • git-svn the parts managed by svn
  • use git submodules for the root project (see git submodules true nature)

Svn externals could include other svn parts, but not the git parts (and external is quite different from git submodule).



来源:https://stackoverflow.com/questions/3201360/is-it-possible-to-have-a-git-repository-as-a-vendor-branch-in-subversion

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