Mercurial hg no suitable response from remote hg error

Trying setup mercurial SVM on my windows server (2008 RC) from last couple of hours. I am stuck on this error when I try to clone my repo from the client machine.

Error:  no suitable response from remote hg

The server that I am running has SSH access (SSH running on port 1667). I also have a remote access to it.

I tried to clone using command as well as with the help of tortoisehg gui client. Commands I tried is:

hg clone ssh://myuser@myremoteip:1667//D:/Mercurial Projects/testproj E:\Mercurial\testproj-clone

hg clone --remotecmd D:/Program Files/TortoiseHg/hg --verbose -- ssh://myuser@myremoteip:1667//D:/Mercurial Projects/testproj E:\Mercurial\testproj-clone

but no success so far.

I also added following line in global setting at client side to give remote path of hg on server but no luck:

[ui]
remotecmd = D:/Program Files/TortoiseHg/hg

Please help me...

Answers


I had a similar problem and in my case it was that the computer had both TortoiseSVN and TortoiseHG installed. Both TortoiseHG and TortoiseSVN have a command TortoisePlink.exe that they use. However, due to the PATH, TortoiseHG was using TortoiseSVN's TortoisePlink.exe.

Uninstalling TortoiseSVN solved the problem for me.

You may open a "cmd" window and type:

where TortoisePlink.exe

to check what TortoisePlink.exe is used.


Need Your Help

iOS: how to point to current control on current TableViewCell

ios cocoa-touch uitableview

I was asking the similar question last saturday, but seems like the smart folks were on barbecue party. Didn't get answer.

Calculating a moving average in F#

algorithm f# statistics queue

I'm still working on groking the F# thing - trying to work out how to 'think' in F# rather than just translating from other languages I know.