status and subrepos

Kevin Bullock kbullock+mercurial at ringworld.org
Tue May 24 20:02:38 UTC 2011


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).

pacem in terris / mir / shanti / salaam / heiwa
Kevin R. Bullock




More information about the Mercurial mailing list