hg on windows
Vadim Lebedev
vadim at mbdsys.com
Thu Jan 26 14:40:41 UTC 2006
Hello,
I'm struggling to connect my win32 hg client to linux hg server using
ssh....
My Mercuial.ini file on Win/XP containes follwing:
[gui]
ssh=c:/PuTTy/plink -ssh -i MyKeyFile
so i do on winxp:
mkdir test.hg
cd test.hg
hg init
hg pull ssh://vadim@192.168.10.138/test.hg
I get as output:
pulling from ssh://vadim@192.168.10.138/test.hg
requesting all changes
adding manifests
adding file changes
added 0 changesets with 0 changes to 0 files
(run 'hg update' to get a working copy)
remote: bash: line 1: hg -R test.hg serve --stdio: No such file or directory
If y do follwing:
c:\PuTTy\plink -ssh -i MyKeyFile hg -R test.hg log
It works OK
I've replaced in Marcurial.ini
ssh=c:/Putty/ssh
and created
c:\putty\ssh.bat file with following contents
@echo @c:\putty\plink -ssh -i MyKeyFile %1 %2 %3 %4 %5 %6 %7 %8 | sed -e
"s/'//g" >tmpssh.bat
@tmpssh.bat
now
c:\PuTTy\ssh hg -R test.hg log
works well
but
hg pull ssh://vadim@192.168.10.138/test.hg
blocks....
When i open terminal window on linux machine and do:
ps ax
I see the hg serve is launched with correct parameters
Any ideas please?
Thanks
Vadim
More information about the Mercurial
mailing list