When does it make sense to use subrepositories?

Carsten Fuchs carsten.fuchs at cafu.de
Thu Apr 18 19:41:01 UTC 2013


Am 2013-04-18 20:52, schrieb Matt Mackall:
> If the answer is yes, your options are:
>
> - check everything into one repo and hope you don't have to merge in
> "upstream" changes often
> - use subrepos

Personally, I very much like the approach that is explained in this blog post:
http://happygiraffe.net/blog/2008/02/07/vendor-branches-in-git/

It's explained for Git, but the beauty of this approach is that it also works with 
Mercurial, and even better, its very simple, because it only uses the "normal" feature 
set of a version control system. No extras for subtree, submodules, subrepos, sub... 
required.   ;-)

Best regards,
Carsten



More information about the Mercurial mailing list