-2
有没有一种简单的方法来访问mercurial repo中的git repo中的文件?Mercurial repo git repo access
我想在运行时验证git repo中的配置文件。 现在,我只是将该文件复制到我的mercurial repo,并且按预期工作。
但将来,配置文件中的内容呈现git repo可能会改变。
有没有一种简单的方法来访问mercurial repo中的git repo中的文件?Mercurial repo git repo access
我想在运行时验证git repo中的配置文件。 现在,我只是将该文件复制到我的mercurial repo,并且按预期工作。
但将来,配置文件中的内容呈现git repo可能会改变。
一种可能性是将Git存储库作为subrepos添加到您的Mercurial存储库。
另一种可能性是集成获取Git存储库作为构建的一部分。
在不知道具体细节的情况下进行更多细节有点困难。
你试过[hg git](https://hg-git.github.io/)吗? – Kevin
我的理解是hg git对hg版本库中的文件很有用,我可以从本地Git访问它们。请认真对待我,如果它是错误的。分享一些参考链接。 – MSD
@saranyadeviM - 你对hg-git的理解是颠倒过来的,而Kevin的建议 - corect –