Subrepositories

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Aug 31 14:57:57 UTC 2016


> On Aug 31, 2016, at 02:28, Nicolas Pinault <nicolasp at aaton.com> wrote:
> 
> Hi,
> 
> I'm starting to use subrepositories.
> My first question : Do I have to add .hgsubstate to the repository ?

No, you just create the .hgsub file and Mercurial maintains the .hgsubstate for you.

What are you using them for? Subrepos are generally considered a feature of last resort—a feature that is fully supported, but has significant tradeoffs in its use vs. normal Mercurial usage. You'll want to read the recommendations and caveats on the wiki: <https://www.mercurial-scm.org/wiki/Subrepository#Recommendations>

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




More information about the Mercurial mailing list