Dealing consistently with subrepositories

Martin Geisler mg at aragost.com
Wed Mar 30 10:46:11 CDT 2011


Isaac Jurado <diptongo at gmail.com> writes:

> On Wed, Mar 30, 2011 at 11:57 AM, Martin Geisler <mg at aragost.com> wrote:
>>
>> so manifest and locate should recurse iff status does.
>
> Maybe it's my configuration, but there is an annoying quirk of status
> without -S: it doesn't show when .hgsubstate has changed.Therefore,
> if you don't do "hg st -S" you don't have feedback about subrepository
> commit (either recursed or just .hgsubstate) until your editor fires
> up on "hg ci". Moreover, if you use "hg ci -m" you don't have feedback
> until the commit is done.

The .hgsubstate file does not change until somewhere in the middle of
the commit. So when you edit and commit inside a subrepo, the top-level
.hgsubstate file is not updated by itself.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/en/services/mercurial/blog/


More information about the Mercurial-devel mailing list