问题
I know that sub-repositories save you an your team time, but what is the ROI on them?
https://www.mercurial-scm.org/wiki/subrepos
回答1:
If you have a dependency which is developed by you along with the main project then subrepos are a perfect fit IMO. I've been using subrepos in these circumstances for a while now and they save a lot of effort. I feel they're particularly beneficial for open-source projects, where getting all dependencies required to build your project can be a pain for someone checking out the code for the firs time: subrepos make this completely automatic.
I can't comment on how easy subrepos are to use if your dependency has its own separate distinct releases and/or is developed by a third party.
来源:https://stackoverflow.com/questions/2931818/whats-the-roi-of-sub-repositories