多个源代码库 [英] multiple source code repositories
问题描述
我使用Mercurial来控制我的源代码。但有些人更喜欢其他版本控制系统(如git,Bazaar,SVN,CVS)。
我想知道,是否可以在多个系统下存储一个存储库一次,所以人们可以使用他们想要的任何资源库?
GitHub开发了 hg-git 扩展名为Mercurial。这个扩展允许你使用Mercurial从git仓库进行克隆,然后重新插入。所以如果你不介意有一个中心的git仓库,那么它肯定有可能使用git和mercurial来访问它。
虽然另一个答案指出你提到的大多数VCS工具与使用的VCS工具非常类似,所以值得投入是否值得让人们使用它们希望,相比之下,学习新系统所需的最小努力。
I use Mercurial for version controlling my source code. But some people prefer other version control systems (like git, Bazaar, SVN, CVS).
I would like to know, is it possible to store a repository under multiple systems at once, so people can use whichever repository they want?
GitHub developed the hg-git extension for Mercurial. This extension allows you to clone from git repositories using Mercurial, and then push back in. So if you didn't mind having a central git repository, then it would certainly be possible to access it using both git and mercurial.
Though as another answer has pointed out most of the VCS tools you mentioned are fairly similar to use, so it's questionable whether it would be worth putting in the effort to allow people to use whatever they want, compared to the minimal effort involved in learning a new system.
这篇关于多个源代码库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!