Last year I took a look at a number of Subversion clients for OS X, finally settling on Versions as my client of choice for my personal coding needs. At the time, I was running a Linux server on some old generic hardware from the days before I drank the Apple Koolaid. After deciding to upgrade my wife’s 17″ iMac with the new i5 27″ model, I realized I could ditch the old Linux hardware and get some great power savings (and hence reduced electricity bill) in the process. The first task I had was moving my SVN repository over from the Linux machine (Ubuntu 9.10) to the iMac running OS X 10.6…and this is how I did it.
All of the SVN application binaries, including the server, already come pre-installed with OS X 10.6, located in the
/usr/bin/ directory, so we just have a few steps to get that running.
- Create a system user for SVN.
- Create a new repository to store your code in.
- Optionally create specific SVN users for submission tracking.
- Configure the server to run automatically at system startup.