Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install svn server on windows

Tags:

windows

svn

I want to install a SVN server on a Windows 7 64 bit machine (just for me).

I used Slik SVN and set up a service with:

sc create svnserver binpath= "C:\Program Files\SlikSvn\bin\svnserve.exe --service -r H:\svn\repository" displayname= "Subversion" depend= Tcpip start= auto

This is listed in the list of services, but can not be started:

C:\Windows\system32>sc create svnserver binpath= "C:\Program Files\SlikSvn\bin\s
vnserve.exe --service -r H:\svn\repository" displayname= "Subversion" depend= Tc
pip start= auto
[SC] CreateService ERFOLG

C:\Windows\system32>net start svnserver
Der Dienst reagiert auf die Kontrollfunktion nicht.

Any idea why this does not work?

like image 501
Matthias Pospiech Avatar asked Mar 07 '26 22:03

Matthias Pospiech


1 Answers

From Svnserve Based Server page of TortoseSVN docs, "Run svnserve as a Service" chapter. Your path have space in name

If any of the paths include spaces, you have to use (escaped) quotes around the path, like this:

sc create svnserve binpath= "
    \"C:\Program Files\Subversion\bin\svnserve.exe\"
    --service --root c:\repos" displayname= "Subversion"
    depend= tcpip start= auto
like image 89
Lazy Badger Avatar answered Mar 10 '26 13:03

Lazy Badger



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!