[BUGS] Can't use plink instead of ssh under windows box

Dongsheng Song dongsheng.song at gmail.com
Thu Feb 1 08:51:51 UTC 2007


When I use plink, hg push failed:
    C:\wc\hg\scratch>hg push ssh://cauchy@www.foresee.com.cn/~/wc/hg/scratch
    running C:/usr/putty/plink.exe cauchy at www.foresee.com.cn "hg -R
~/wc/hg/scratchserve --stdio"
    pushing to ssh://cauchy@www.foresee.com.cn/~/wc/hg/scratch
    searching for changes
    1 changesets found
    remote: Unable to read from standard input

When I use ssh within cygwin, hg push success:
    C:\wc\hg\scratch>hg push ssh://cauchy@www.foresee.com.cn/~/wc/hg/scratch
    running ssh cauchy at www.foresee.com.cn "hg -R ~/wc/hg/scratch serve --stdio"
    cauchy at www.foresee.com.cn's password:
    pushing to ssh://cauchy@www.foresee.com.cn/~/wc/hg/scratch
    searching for changes
    1 changesets found
    remote: adding changesets
    remote: adding manifests
    remote: adding file changes
    remote: added 1 changesets with 15 changes to 15 files

$ hg --version
Mercurial Distributed SCM (version 0.9.3)

C:\wc\hg\scratch>hg --version
Mercurial Distributed SCM (version 0.9.3+20061222)

Thanks for some help

Dongsheng Song



More information about the Mercurial mailing list