subrepo grand plan

Martin Geisler mg at
Thu Oct 20 10:15:57 CDT 2011

Laurens Holst <laurens.nospam at> writes:

> (b) seems perfectly fine behaviour, some arguments:
> [...]
> The only real downside is that hg status will show .hgsubstate as
> modified instead of indicating the subrepository paths, but I can live
> with that if that is what is required by existing tools.

Just in case you're confused about this: The .hgsubstate file is not
updated on disk until you do 'hg commit'. So you cannnot see that you've
changed a subrepository with 'hg status' or 'hg diff'.

Use 'hg summary' to see a list of changed subrepositories.

Martin Geisler

aragost Trifork
Professional Mercurial support

More information about the Mercurial-devel mailing list