status and subrepos

Martin Geisler mg at aragost.com
Wed May 25 09:33:00 UTC 2011


William <wilk at flibuste.net> writes:

> On 24-05-2011, Kevin Bullock wrote:
>> On 23 May 2011, at 11:28 AM, William wrote:
>>
>>> Hi,
>>> 
>>> I'm sure there is a good reason that status doesn't show subrepos by
>>> default instead of commit, but i don't remember... Could you point
>>> me to the thread wich explain why ?
>>
>>
>> The short answer is that you can't transparently commit a file in a
>> subrepo―i.e. if `hg st` were to show a changed file in a subrepo, you
>> can't then `hg ci FILE` or `hg log FILE` or similar things (yet).
>>
>
> Something disturb me is that status doesn't show the same as commit
> (by default). Then, i use directly commit and look at the HG: lines to
> see what's going on.

There have been many discussion about this, please search the archive:

  http://mercurial.markmail.org/search/?q=subrepo+status+recursive

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://mercurial.aragost.com/kick-start/



More information about the Mercurial mailing list