Download and install the latest universal binary from CollabNet:
http://www.collab.net/downloads/community/includes/communitydownloads-getit-mac.html
The installer puts everything into /opt/subversion and creates symbolic links in /usr/local/bin but this doesn't disable the pre-installed copy in /usr/bin.
You need to get adventurous:
- Create symbolic links in /usr/bin/ and /usr/lib/ to the new subversion files in /opt/subversion/bin/ and /op/subversion/lib/
- Update your apache subversion configuration to use the new /opt/subversion/lib/svn-apache/mod_dav_svn.so
Step by step using Terminal:
- Commit all your files and close all subversion clients eg Xcode
- If not logged in as an admin account switch user to an admin account:
su admin - Create links to the new subversion files:
sudo ln -sf /opt/subversion/bin/svn* /usr/bin/
sudo ln -sf /opt/subversion/lib/libsvn* /usr/lib/ - Edit your apache2 subversion configuration file: (your location may be different)
sudo pico /etc/apache2/other/svn.conf - Update LoadModule to:
LoadModule dav_svn_module /opt/subversion/lib/svn-apache/mod_dav_svn.so