Shared resources

Kevin Bullock kbullock+mercurial at ringworld.org
Tue Sep 1 18:40:13 UTC 2015


> On Aug 30, 2015, at 06:10, מיטל ואלירן <fistel.me at gmail.com> wrote:
> 
> Hello,
>  We are thinking of changing our source control tool, and we need a tool that enables us to both have a shared project (let's call it A) for the team that uses source from another shared project (let's call it B), managed by another team.
> 
> Is it possible using Mercurial? What happens with shared project A when shared project B changes? We would love to get some information on how this works.

As others have mentioned, subrepos are one way to accomplish this. Note, though, that the generally recommended way to set up your repos is to keep each project in its own repo,  and use a thin wrapper repo that includes both A and B as subrepos. More here: <https://mercurial.selenic.com/wiki/Subrepository#Recommendations>

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial mailing list