How to upgrade Subversion on OSX

I have OSX 10.9.5 and Subversion 1.7.17 (r1591372).

For developing WordPress with PHPStorm I seem to need Subversion 1.8 due to this notification:

Screen Shot 2014-10-09 at 11.19.14

Which shows this error:

Screen Shot 2014-10-09 at 11.19.31

It reads ´svn: E155021: This client is too old to work with the working copy at ‘/Users/andrea/dev/wp/vvv/www/wordpress-develop’ (format 31). You need to get a newer Subversion client. For more details, see´.

Here they say

Now, IntelliJ IDEA offers different integration options for each specific Subversion:

1.6 – SVNKit only
1.7 – SVNKit and command line client
1.8 – Command line client only

If you opt to the command line client, make sure you have its binaries installed on your machine, because they are not bundled with IntelliJ IDEA.

So I checked my system:

Then I installed Subversion all together using brew.

It took some seconds to download and compile, but eventually I got:


OK, then I tried editing my ´~/.bash_profile´:

After which I had:

Then I closed PHPStorm and opened it again… But PHPStorm error didn’t go away !!

Then I searched PHPStorm preferences for “svn” and tried forcing ´/usr/local/bin/svn´:

Screen Shot 2014-10-09 at 11.13.39

Which immediately made the error disappear:

Screen Shot 2014-10-09 at 11.20.18

So I undid the PATH change, just to be sure OSX still sees Subversion 1.7, and all is working fine.


12 Replies to “How to upgrade Subversion on OSX”

  1. Thank you very much! I needed to point AS to the exact directory (/usr/local/bin/svn), instead of just using “svn”. I had edited my .bash_profile, but I guess AS is running as a different user? That would explain why svn –version in terminal did give me 1.8.x.

  2. Thanks. And I really appreciate you detailing the steps you took. For someone new to OSX, it really helped me see how to approach problems like this.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.