views:

290

answers:

2

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 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?

+1  A: 
undees
My use case is #2 in your first list.
bialix
+4  A: 

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. As of mercurial 1.4.2 the subrepos can now be subversion repos, so you can use a mercurial parent and a svn kid.

Ry4an
So there is no clear roadmap for this feature? Say, in hg 1.6 (or 1.7) it should be nearly complete, or something similar?
bialix
It's complete enough to use now. Some workflows will be a little less cumbersome going forward, but it's done now.
Ry4an