Yay! Having just discovered Subversion at work, I’ve now also installed it at home, along with TortoiseSVN.
Here’s what I did:
- Installed Subversion 1.4.6
- Installed TortoiseSVN 1.4.8
- Created local folder for storing repositories: H:svn
- Created Windows service for Subversion: sc create svn.local binpath= “”c:program filessubversionbinsvnserve.exe” –service –root H:svn” displayname= “Subversion” depend= Tcpip
- Used services.msc to start new Subversion service and set it to start automatically
- Create repository with svnadmin create –f-type fsfs gareth
- Created password for svnserve — see TortoiseSVN help section 3.2.4 for details
- Right-click desktop, select TortoiseSVN > Repo-browser, enter svn://localhost/svn/gareth
- Enter username and password, as created at step 7
- Create new folders and start importing data into the repository
- Er…
- That’s it!
Fun, fun, fun … really easy to setup and an invaluable tool. I really wish that I’d checked it out sooner.
Hi! Good tip. Can my coworkers commit their changes to my localhost svn?
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.
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!