Tortoisehg opens console windows when working with subrepos. How do I stop him?
I have a mercury repo with a git sub-revolution. Whenever I open TortoiseHG, several (5-10) console windows open and close quickly (in less than 1 second). I would like to make the turtle work without showing these windows.
My best guide so far is this old thread . This is for SVN, but it seems to be on the right track.
I'm fine with python scripting changes, although I'd rather get it to work without resorting to this.
I am using msysgit with openssh on windows.
+3
source to share
1 answer
Take a look at this class:
http://hg.intevation.org/mercurial/crew/file/61c8327ced50/mercurial/subrepo.py#l901
This should contain the appropriate code. This can also be helpful:
http://hg.intevation.org/mercurial/crew/file/61c8327ced50/mercurial/win32.py#l281
0
source to share