svn://localhost

Yay! Having just discovered Subversion at work, I’ve now also installed it at home, along with TortoiseSVN.

Here’s what I did:

  1. Installed Subversion 1.4.6
  2. Installed TortoiseSVN 1.4.8
  3. Created local folder for storing repositories: H:svn
  4. Created Windows service for Subversion: sc create svn.local binpath= “”c:program filessubversionbinsvnserve.exe” –service –root H:svn” displayname= “Subversion” depend= Tcpip
  5. Used services.msc to start new Subversion service and set it to start automatically
  6. Create repository with svnadmin create –f-type fsfs gareth
  7. Created password for svnserve — see TortoiseSVN help section 3.2.4 for details
  8. Right-click desktop, select TortoiseSVN > Repo-browser, enter svn://localhost/svn/gareth
  9. Enter username and password, as created at step 7
  10. Create new folders and start importing data into the repository
  11. Er…
  12. That’s it!

Fun, fun, fun … really easy to setup and an invaluable tool. I really wish that I’d checked it out sooner.

Published by

Gareth Saunders

I’m Gareth J M Saunders, 46 years old, 6′ 4″, father of 3 boys (including twins). Latterly, web architect and agile project manager at the University of St Andrews and warden at Agnes Blackadder Hall. Currently on sabbatical. I am a priest in the Scottish Episcopal Church, and I sing with the NYCGB alumni choir.

3 thoughts on “svn://localhost”

  1. I really don’t know, I’m quite the amateur when it comes to Subversion, but I would guess so so long as you have permissions for them to connect to your PC on the network.

    You can also integrate Subversion with Apache which might be an easier way for others to connect to your instance of SVN.

  2. Actually, yesterday I was trying to integrate it with Apache, in a shared hosting, but I can not run SSH commands on my hosting so I was looking for another solution.

    Thank you response!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.