Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ 14 on OSX: How to specify version of SVN client used through the IDE

I'm on OSX Yosemite which came with a default SVN client 1.7.x.
I used macports to install 1.8.11 and checked out a repo using 1.8.11 (through zshell).
When i use the svn command through the shell (both on zshell and bash), it points to 1.8.11.

However in IntelliJ 14, it reluctantly keeps trying to use the 1.7.x client and errors out saying:
SVN: E155021: this client is too old to work with the working copy.

If I use the svn command through IntelliJ's own terminal, I see that it is 1.8.11.
How can I force IntelliJ to use 1.8.11?
Couldn't see a relevant option in the preferences under Subversion.

like image 352
Invisible Arrow Avatar asked Dec 26 '14 19:12

Invisible Arrow


1 Answers

Found one working solution.
All I really had to do is use the full path of svn 1.8.11 (ie. /opt/local/bin/svn) installed by macports, under Preferences -> Version Control -> Subversion -> Use command line client

Though I still don't understand why it didn't pick this up by default even though the shells did.

enter image description here

like image 176
Invisible Arrow Avatar answered Sep 19 '22 21:09

Invisible Arrow