When does it make sense to use subrepositories?

v voldermort at hotmail.com
Thu Apr 18 16:36:24 UTC 2013


I've just backed out of several hours' work transitioning a set of related
projects from one repository to a group of subrepositories. Having been
through this a few times before, I always seem to end up with one of two
scenarios:

- If changes to one project are usually associated with changes to other
related projects, put them in the same repository.
- Otherwise, use separate repositories, and handle the relationship with you
favourite dependency management solution. If you really want to do this with
your SCM, then use guestrepos.

I do acknowledge that subrepos are now declared "a feature of last resort",
but I'm wondering what this situation is. Someone paid for them to be
developed, so they must be useful somewhere!



--
View this message in context: http://mercurial.808500.n3.nabble.com/When-does-it-make-sense-to-use-subrepositories-tp4000402.html
Sent from the General mailing list archive at Nabble.com.



More information about the Mercurial mailing list