Cloning a read-write github repository using TortoiseHg
Posted
by Nathan Palmer
on Stack Overflow
See other posts from Stack Overflow
or by Nathan Palmer
Published on 2010-04-04T04:31:17Z
Indexed on
2010/04/04
4:33 UTC
Read the original article
Hit count: 563
I'm trying to clone my personal fork on github using the git+ssh protocol with TortoiseHg. It's giving me a rather strange error. Here is the command
hg clone git+ssh//[email protected]:myusername/thefork.git
This is after I have installed the hg-git module and it works just fine to clone using the git:// syntax. But I believe it's having trouble with the ssh. The error I'm getting is this.
importing Hg objects into Git
[Error 2] The system cannot find the file specified
I have tried adding manually the ssh command into the mercurial.ini file like this
[ui]
username = [email protected]
ssh="C:\Program Files\TortoiseHg\TortoisePlink.exe" -ssh -2 -i "C:\Source\SSHPrivateKey.ppk"
But I still get the same error. Any ideas?
Thanks.
© Stack Overflow or respective owner