Versions Svn For Mac

Posted on

I am a big fan of Versions (Subversion client for Mac OS, it is compatible with any standard SVN server like I guess VisualSVN). The big pro of Versions is that along with the usual features of an SVN client (up, commit, diff, etc.), it displays the number of new commits that I haven't retrieved yet on several repositories, like this (the 2 in the yellow box next to main is the number of new. Apache ® Subversion ® 'Enterprise-class centralized version control for the masses' Welcome to subversion.apache.org, the online home of the Apache ® Subversion ® software project. Subversion is an open source version control system. Founded in 2000 by CollabNet, Inc., the Subversion project and software have seen incredible success over the past decade. Svn status – Check status of the local file/project. Svn diff – Compare two versions. See help for more details. Svn revert – Revert all local changes. To get more details on any Subversion command, use the svn help option. For example, the following will print the details of diff command. TortoiseSVN, a Windows shell extension, gives feedback on the state of versioned items by adding overlays to the icons in the Windows Explorer.Repository commands can be executed from the enhanced context menu provided by Tortoise. Cornerstone is a GUI.

  1. Free Svn Client For Mac
  2. Best Svn Client For Mac
  3. Mac Svn Tool

I wrote an article about a year ago, about svn (Subversion) being missing in Mountain Lion (10.8) and how to install it manually. Since then, I’ve got a new mac and have used myself this post to install it on the new machine. Since then there has also been new versions of subversion but unfortunately all my software are not compatible with it. So I’ve been looking into this topic again and wanted to share.

Another way to install svn on mac is to use a ditribution package from wandisco. They are available here. Do not use the packages on CollabNet which are outdated.
Unzip the .pkg file and double click on it and follow the instructions to have it installed.

I still like it better with Homebrew since it makes it very easy to upgrade the packages and switch between packages.

To find out the version currently active with Homebrew:

You can check the versions of subversion which are available using:

This will return multiple lines, one per version, each containing a version number and the checkout command e.g.:

Choose the version you want to install e.g. here 1.8.1, switch Homebrew’s prefix,checkout the package and install it:

Then reset the formula:

You can then switch between versions using brew switch (which updates the symlink in /usr/local/bin to the specified formula version in the Homebrew cellar) e.g.:

Of course mechanism can be used for any other Homebrew package.

If you get errors in XCode while accessing working copies created with a newer version, you might need to link the newer version into XCode by doing the following:

  • Create a backup directory for the svn binaries currently used by XCode
  • Moving the current binaries to the backup folder
  • Linking the binaries of the new version installed with Homebrew into Xcode (as a replacement for the moved ones)

You can do that by executing the following and replacing 1.7.4 by the actual subversion version you want to use in XCode:

Note that you can also use Homebrew-versions instead. It provides multiple formulas for different versions of existing packages e.g. subversion1.6 and subversion1.7. If you use it, you will of course not be able to upgrade from 1.7 to 1.8 but only from 1.7.2 to 1.7.3 but it’s maybe what you are after…

You can install from Homebrew-versions using:

You’ll notice that Homebrew-versions only has packages for subversion 1.6 and 1.7. But I guess 1.8 should come soon.

So there are quite a few ways to install subversion on your mac and handle different versions. The one I like best is still just installing it with Homebrew and switching to the one I use most. The other versions are still available by other switching to a particular version as shown above or by using the svn command from a particular version in the Homebrew Cellar e.g.

Related posts:

Subversion for Mac OS X

Since OS X Leopard, the command-line Subversion client has been included as part of the standard Mac OS X installation. There are also several third-party GUI Subversion clients available which integrate better with the native graphical Mac OS user-interface. In addition, the popular Mac IDEs also provide integrated Subversion support.

Mac GUI Subversion clients

Free Svn Client For Mac

Versions Svn For Mac
Want to use Subversion without the command-line? Try one of these GUI clients.
svnX

Th svnX open-source GUI client for Mac OS X provides support for most features of the standard svn client, including working with local working copies as well as a useful remote repository browser. It supports all Subversion versions from 1.4 through to 1.7 and is the best open-source GUI Subversion client for Mac OS.

Cornerstone

Cornerstone is a fully-featured native Subversion client, designed specifically with the Mac OS X GUI look-and-feel. It is a commercial application that is also available on the MacAppStore.

Versions

Another commercial Mac OS X Subversion GUI is Versions. A 30-day demo version is also available.

Mac command-line Subversion clients

Leverage the full power of Subversion from the command-line.
Mac OS X

Mac OS X includes a Subversion command-line client as part of the standard operating system installation. Open the Terminal application and type svn with the required parameters. Easy.

MacPorts

The latest version of the Subversion command-line client is available from the MacPorts community-supported collection of open-source software.

Other Mac OS X command line clients

Depending on your version of OS X, the included command-line tools may be out-of-date. Alternative sources of Mac command-line tools include the CollabNet and WanDisco pages.

Mac IDE Subversion clients

Seamless Subversion integration from within your IDE.
Xcode

Subversion support is included in Apple’s powerful Xcode Integrated Development Environment. For many developers this is the perfect compliment to the Mac OS X command-line tools.

Best Svn Client For Mac

Eclipse IDE

Mac Svn Tool

Eclipse is a cross-platform IDE that also supports Mac OS X. The Subclipse plug-in provides Subversion support. It uses JavaHL to integrate with the command-line tools, so a little bit of manual installation and configuration is required.