Mercurial 1.4.x中的subprepos功能是否已准备好用于生产? [英] Is the subprepos feature in Mercurial 1.4.x ready for production use?

查看:70
本文介绍了Mercurial 1.4.x中的subprepos功能是否已准备好用于生产?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为我的工作项目评估Mercurial.但是我的大多数项目都非常依赖svn:externals-like支持.我已经搜索了StackOverflow,并在Mercurial中搜索了相应的支持.我发现的只是Mercurial 1.3中添加的subrepo功能,但是此功能的页面说:

I'd like to evaluate Mercurial for my working projects. But most of my projects very heavily rely on the presence of svn:externals-like support. I've searched over StackOverflow and googled for corresponding support in Mercurial. All I found is subrepo feature added in Mercurial 1.3, but the page for this feature said:

subrepos是Mercurial 1.3的实验功能.因此,请不要在关键任务存储库中执行此操作!

subrepos are an experimental feature for Mercurial 1.3. So don't do this on mission critical repositories!

我不想使用不稳定的东西.

I don't want to use something unstable.

有人可以阐明此功能的实际状态,进行抛光/精加工的计划以及何时将其称为稳定"状态并准备用于关键任务存储库吗?

Can anybody shed some light on the real status of this feature, and the plans of polishing/finishing it and when it will be called "stable" and ready for mission critical repositories?

推荐答案

#mercurial IRC频道中的字眼是,子仓库将继续按原样工作,并且支持将不断增加.例如,当前"hg status"命令尚不支持subrepo-它可以工作,只是不递归,但将来会.但是,当前的行为,文件格式(.hgsub和.hgsubstate)只能以向后兼容的方式进行更改.

The word in the #mercurial IRC channel is that subrepos will continue to work as they do, and support will grow. For example currently the 'hg status' command isn't subrepo aware -- it works, it just doesn't recurse, but that in the future it will be. However, the current behaviors, fileformats (.hgsub and .hgsubstate) will only be changed in backward compatible ways.

所以,现在就开始指望它,并期待它变得更好.

So, go ahead and count on it now, and look forward to it getting better.

P.S.从Merurial 1.4.2开始,subrepos现在可以是subversion仓库,因此您可以使用Merurial父母和svn孩子.

P.S. As of mercurial 1.4.2 the subrepos can now be subversion repos, so you can use a mercurial parent and a svn kid.

这篇关于Mercurial 1.4.x中的subprepos功能是否已准备好用于生产?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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