SVN server for Mac OSX

Viewed 63329

I used to use Visual SVN on Windows. Now I am on Mac OSX.

Does anyone know of an SVN server for MAC OSX which is as easy to use as Visual SVN on Windows? I don't want to be typing in console commands, I'd like a nice and simple UI :-)

Cheers

9 Answers

Mac OSX LION and Snow Leopard comes with SVN Server by default. An easy tutorial can be found here

Basically you will be using command line (shell) environment. No GUI tool is available.

To create a repository issue this command

svnadmin create MyFirstRepository

This will create a repository with the above name in the current folder.

The next step is to import a directory. Use this command

svn import destination-folder file:///path-to-repository -m "Initial Import"

The third step would be to checkout what you just checked in.

svn checkout file:///path-to-repository destination-folder

I know that you want a simple GUI app to install the server, but you can get apache serving your subversion repository with WebDAV authentication really quickly and easily. Using macports to install all the dependencies and with a few basic changes to the configuration options in apache, you are good to go.

Here is the basic setup (from Macports wiki) : MacPorts Subversion with Apache

The command line is your friend!

Another nice stack for a subversion server can be found at http://bitnami.org/stack/subversion. From the description:

BitNami Subversion Stack greatly simplifies the deployment of Subversion and its required dependencies. It can be deployed using a native installer, as a virtual machine or in the cloud.

I know you're itching for Visual SVN-alike on the mac, but one of the big reasons you're not getting a lot of answers is that SVN and Apache don't exist by default on Windows (an itch that Visual SVN scratches), but do exist on OSX.

The argument goes like this: if you're savvy enough to be using SVN, then most likely you will either be happy with what OSX has by default (command line!), or you likely have a Linux server somewhere that serves SVN for you.

I recommend a couple of options for you in addition to what everyone else mentions:

  1. Keep your existing windows machine as a server for your SVN needs
  2. Run a VMWare appliance + VMWare fusion (here are some Trac+SVN appliances)

I can recommend Versions, if you need a comprehensive 3rd-party app.

Until recently I had a simple setup - a local SVN (file) repository on my local drive; then used Xcode's SCM (Source Control Management) windows to manage SVN commands - it's not too bad for most of the day-to-day actions. Obviously, this is assuming you're using Xcode?

While this isn't mac-central per-say, Warehouse was open sourced some time ago and might be worth a look. It's a web-based GUI for svn and git repository management.

Related