Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I properly upgrade SVN on MAC?

Tags:

macos

svn

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

like image 770
dcp3450 Avatar asked Apr 19 '16 18:04

dcp3450


People also ask

Which command is used to update to the latest version in svn?

Examples. Use the svn upgrade command to upgrade the working copy to the most recent metadata format supported by your version of Subversion.

What is the best svn client for Mac?

The best Mac alternative is SmartSVN, which is free. If that doesn't suit you, our users have ranked more than 10 alternatives to TortoiseSVN and nine of them are available for Mac so hopefully you can find a suitable replacement.

What does svn upgrade do?

The SVN update Command. The svn update command lets you refresh your locally checked out repository with any changes in the repository HEAD on the server. It also tells you what has been changed, added, deleted. If a change has been made to a file you have also changed locally, svn will try to merge those changes.


1 Answers

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.

like image 143
mprat Avatar answered Oct 09 '22 11:10

mprat