Leopard comes with preinstalled Subversion 1.4.x by default. You can check out the svn --version command and watch out the output:
$ svn --version svn, version 1.4.4 (r25188) compiled Sep 23 2007, 22:32:34 Copyright (C) 2000-2006 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme
As you may notice, this is not up to date version of the Subversion client. Currently the most recent binary builds with installer comes from CollabNet. Simply download the package and install the Subversion binaries. By default the CollabNet package installs Subversion to /opt/subversion/bin.
Now we should check which installed instance of the Subversion is used by executing which svn command. This command will return the path to the original Subversion version you are using. On my system this is:
$ which svn /usr/bin/svn
Note that the path of the build in Subversion client is different to the one that the CollabNet binary is installed to. We must ensure that the new binaries are on the path before original Subversion libraries. Simply open your .bash_profile file in your home folder with your favourite text editor and add /opt/subversion/bin to your PATH:
export PATH=/opt/subversion/bin:$PATH
Now execute the svn --version again and watch the output:
$ svn --version svn, version 1.6.3 (r38063) compiled Jun 23 2009, 16:38:16 Copyright (C) 2000-2009 CollabNet. Subversion is open source software, see http://subversion.tigris.org/ This product includes software developed by CollabNet (http://www.Collab.Net/). The following repository access (RA) modules are available: * ra_neon : Module for accessing a repository via WebDAV protocol using Neon. - handles 'http' scheme - handles 'https' scheme * ra_svn : Module for accessing a repository using the svn network protocol. - with Cyrus SASL authentication - handles 'svn' scheme * ra_local : Module for accessing a repository on local disk. - handles 'file' scheme * ra_serf : Module for accessing a repository via WebDAV protocol using serf. - handles 'http' scheme - handles 'https' scheme
It works! The new version is now 1.6.3.