Monday, September 15, 2008

startup svnserve as service

I really tired off using svn through http protocol in my office here.
Then, today i tried to change to svn protocol instead of http protocol

let say my repos is c:\svn\project1

1. cd svn\project1\conf
2. I find svnserve.conf, i change that file according to below
My svnserve.conf looks like: 
 [general] 
 anon-access = none 
 auth-access = read 
 password-db = passwd 
 realm = My First Repositor


3. then, i find passw file and  change the file
my passwd file looks like:

[users]
fadhlan = fadhlan

4. i set the svn as a windows service 
sc create svn binpath= "\"C:\program files\Subversion\bin\svnserve.exe\" --service -r C:\svn" displayname= "Subversion Server" depend= Tcpip start= auto net start svn

5. then i make sure the service is running,telnet the svn port 3690. 


6. try to checkout using eclipse. For me, the url is svn://<-svn-ipaddress->/project1

7. done.. or maybe u can bringdown ur apache server