Subversion Server on Windows problems
I want to use Subversion over ssh when the server is windows, I've OpenSSH
installed with an empty banner.txt file.
when I'm logging in manually I get:
C:\>ssh localhost svnserve -t
( success ( 1 2 ( ANONYMOUS EXTERNAL ) ( edit-pipeline ) ) )
Trying to use svn+ssh is causing me problems, though.
My repository is located on D:\Subversion
d:\>svn list svn+ssh://localhost/
svn: No repository found in 'svn+ssh://localhost'
When I try to add the full path, using Cygdrive notaion, I get:
D:\>svn list svn+ssh://localhost/cygdrive/d/Svn
svn: No repository found in 'svn+ssh://localhost/cygdrive/d/Svn'
Using normal windows notation, I get:
D:\>svn list svn+ssh://localhost/d:/Svn
svn: Couldn't determine repository path
Using pipe symbol doesn't help either:
D:\>svn list "svn+ssh://localhost/d|/Svn"
svn: Can't open file '/d|/Svn/format': The filename, directory name, or
volume label syntax is incorrect.
In short, I need a way to get the -r paramter to svnserve.
I tried creating renaming svnserve svnserve2 and created a batch file named
svnserve.bat that contained this command:
svnserve2.exe -r D:\Svn\ %1
But apparently that is not good enough for sshd, when I do this I get:
D:\>svn list svn+ssh://localhost/
svn: Connection closed unexpectedly
I tried building an exe that call svnserve2 but that didn't work either,
probably because pipe redirections.
I know that the supported way on *nix is to simply replace svnserve with a
script, but this doesn't work on windows.
How can I make it work?
Received on Fri Dec 3 18:01:24 2004
This is an archived mail posted to the Subversion Users