How to upgrade SVN on a mac

Mac OS X 10.5 comes with an outdated svn version, I think it’s 1.4. For work, I need to update this to 1.6.

To check the current version, open the terminal and type:

svn -help

The version number is located on the first line.

To upgrade, download a binary package from: http://subversion.tigris.org/getting.html#osx

Then add this to .profile or .bash_profile:

vi ~/.profile

export PATH=/usr/local/bin:$PATH

Try to check for the version again. If it still uses the same version, try source command

source .profile

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: