[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

svn cannot run with cygwin-sshd

From: Satoshi Nakamura <snak_at_zak.att.ne.jp>
Date: 2003-06-07 20:37:56 CEST


I encountered a problem when I run svn with cygwin-sshd. I use svn-0.23.0
on Windows 2000. I installed cygwin-sshd as a service and tried using
svnserve over ssh.

When I tried to use svnserve over ssh, I got an error:
> $ svn co svn+ssh://localhost/repos
> svn: Network connection closed unexpectedly
> svn: Connection closed unexpectedly

So I tried running svnserve over ssh directly, and got an error:
> $ ssh localhost svnserve -t
> svn: error: cannot set console input codepage (code 6)

It seems that calling SetConsoleCP caused this error because there is no
console bound to the process running in sshd.

I changed the source code (subversion/libsvn_subr/cmdline.c) not to call
SetConsoleCP and built it, then it worked fine.

Satoshi Nakamura <snak@zak.att.ne.jp>
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jun 8 05:44:49 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.