Reputation: 11187
I'm starting on a new team who are all on PCs using TortoiseSVN
with SVN version 1.9.2
. I'm on a Mac OSX (El Capitan) using the Versionsapp. When I check svn --version
in terminal i get 1.7.10
.
When I try any svn command such as svn update
I get
svn: E155021: This client is too old to work with the working copy at
'/Users/dpowell/Desktop/sites/site.org.new' (format 31).
You need to get a newer Subversion client. For more details, see
http://subversion.apache.org/faq.html#working-copy-format-change
I've gone to the site and downloaded the python script but don't know it will do anything to help (i.e. I don't know how to use it). I've also downloaded the 1.9
package and tried installing svn
that way.
I'm not sure what path to take to solve this issue
Upvotes: 7
Views: 16947
Reputation: 3276
brew upgrade subversion
Others solutions require you to register an Account?? forget them.
Upvotes: 4
Reputation: 852
- In Terminal, type "svn --version" to find out what version you currently have
- Go to http://www.wandisco.com/subversion/download#osx and download the latest client for OS X and install it. This will install the new svn into /opt/subversion/bin
Got to your terminal and check your $PATH by typing "echo $PATH". If you don't see /opt/subversion/bin in there, make sure you add it by typing export PATH=/opt/subversion/bin:$PATH. If it DOES exist and appears AFTER /usr/bin, then you may need to remove an older copy of svn that came installed on OS X. To do so, go to /usr/bin and remove all files starting with svn. This isn't an exact science but it should do the trick. For me export PATH=/opt/subversion/bin:$PATH worked as it was installed in /opt/subversion/bin
Make sure you reload your .profile first by typing . ./.profile*
- Type "svn --version". You should see that you have the newest version installed!
Upvotes: 4
Reputation: 2471
The Python script you downloaded from there was to downgrade your SVN version - you need to upgrade your SVN version. I recommend going the homebrew route - it will save you lots of pain in upgrading / installing OSX packages in the future.
Follow the instructions here: http://brew.sh/
(copy that line into a terminal an press ENTER, then follow the prompts)
Then, when homebrew is installed, so update SVN, just do brew install svn
.
Upvotes: 9