Home >

SVN on Windows

10. December 2008

Install this version (Link to site)

Setup-Subversion-1.5.1.en-us.msi

Type the following to install the service:

sc create svn.local binpath= "\"c:\program files\subversion\bin\svnserve.exe\" --service --root D:\svnrepo" displayname= "Subversion Repository" depend= Tcpip

  • Set editor: env var: SVN_EDITOR = c:\windows\notepad.exe
  • Create repo: svnadmin create "c:\Documents and Settings\Subversion Repository"
  • Navigate to the folder we just created. Within that folder, uncomment the following lines in the /conf/svnserve.conf file:
    [general] anon-access = read auth-access = write password-db = passwd
    • Next, uncomment these lines in the /conf/passwd file:
      [users] harry = harryssecret sally = sallyssecret
  • Create a project by opening a second command window and entering this command
    • svn mkdir svn://localhost/myproject
  • You'll now be prompted for credentials. In my case I was prompted for the administrator credentials as well
    • Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df Password for 'Administrator': ********* Authentication realm: 0f1a8b11-d50b-344d-9dc7-0d9ba12e22df Username: sally Password for 'sally': ************ Committed revision 1.
  • Open Port 3690
  • Your done :-)

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Comments

Add comment


(Will show your Gravatar icon)  

  Country flag

biuquote
  • Comment
  • Preview
Loading