How to get subrepo status in CLI (like tortoisehg)

David Demelier demelier.david at gmail.com
Tue Oct 18 13:42:16 UTC 2016


Hello,

TortoiseHG shows nice status about subrepositories like this:

S GameCore 4
S GameTests 4

But I can't get the same with hg on the command line, even with -S
option. Instead it shows all the files relative to their repositories,
like this:

hg status -S
M GameCore\common\CMakeLists.txt
M GameCore\src\CMakeLists.txt

1. Is there a way to get the same presentation as thg?
2. How do I know in a top repository that a subrepository revision has
changed and that I need to commit to update the .hgsubstate file?

-- 
Demelier David


More information about the Mercurial mailing list