3 ms·
Mercurial subrepos use basically the exact same model as git submodules, but unlike git submodules, they actually work and are useful. The differences aren't h
by user-the-name 6y ago
Mercurial subrepos use basically the exact same model as git submodules, but unlike git submodules, they actually work and are useful.
The differences aren't huge, either. It would not take much effort to implement the final 20% of functionality to make git submodules useful. But it's just been left as a half-finished, half-broken feature that is not good for anything.
- patrec 6y agoThis matches my (very hazy) memory ; I'm almost wondering at this point whether the way of least friction to herd a bunch of git repositories I have is to stuff them all into a mercurial super-repository (from what I remember, mercurial subrepos can be svn or git repos as well). Are you aware of a good up-to-date write-up of the differences of git submodules and mercurial subrepos by any chance? Whilst I can live with mercurial having lost the VC war (and prefer git on the whole) I am a bit annoyed that few of the good features that hg has over git seem to have been adopted by the latter, even where conceptually compatible (I believe git bundle is hg inspired, but it's pretty fringe to start with).