Subrepos, code sharing and symlinks

Mads Kiilerich mads at kiilerich.com
Sun Sep 9 21:51:48 UTC 2012


Alistair Bell wrote, On 09/07/2012 10:45 PM:
> Hi all,
>
> We have a system right now where we use subrepos extensively.

[snipping requirements that conflict with subrepos]

> That's why I'd love to hear if there's a better solution.

With subrepos what you see is what you get. If you really want something 
else (and you probably do) then you are better off not using subrepos.

The best solution is probably to do the necessary plumbing in your build 
scripts or in your Mercurial wrapper.

https://bitbucket.org/hstuart/repoman might be useful as a starting 
point or for inspiration.

/Mads




More information about the Mercurial mailing list