"The handle is invalid" for git subrepository (Windows)
Created originally on Bitbucket by Anonymous
- perform following commands in some empty dir:
#!cmd
hg init
echo googletest = [git]https://github.com/google/googletest.git > .hgsub
hg add
git clone https://github.com/google/googletest.git
hg commit -m "subrepo added"
thg
- in Workbench click "* Working directory node *"
BUG: "error executing git for subrepo 'src/googletest': The handle is invalid" is issued.
It works fine when I run hg in console but it effectively makes the usage of git subrepos useless for me as I usually work from Workbench.
#!python
** Mercurial version (3.9). TortoiseHg version (3.9)
** Command:
** CWD: C:\Work\!vpi\python_embedding
** Encoding: cp1251
** Extensions loaded: graphlog, transplant, hgflow, eol, largefiles, strip, mq, rebase, mercurial_keyring, histedit, churn, purge, record, convert, mercurial_tools, outproc, share, exportfiles, hggit
** Python version: 2.7.9 (default, Dec 10 2014, 12:28:03) [MSC v.1500 64 bit (AMD64)]
** Windows version: sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1')
** Processor architecture: x64
** Qt-4.8.6 PyQt-4.11.3 QScintilla-2.8.4
Traceback (most recent call last):
File "tortoisehg\hgqt\cmdui.pyo", line 605, in runCommand
File "tortoisehg\hgqt\update.pyo", line 343, in runCommand
File "tortoisehg\hgqt\update.pyo", line 290, in isclean
File "tortoisehg\hgqt\thgrepo.pyo", line 936, in sub
File "mercurial\context.pyo", line 280, in sub
File "mercurial\subrepo.pyo", line 360, in subrepo
File "mercurial\subrepo.pyo", line 1293, in __init__
File "mercurial\subrepo.pyo", line 1303, in _ensuregit
Abort: error executing git for subrepo 'src/googletest': The handle is invalid