download svn
[svn]http://www.wandisco.com/subversion/download#osx
*一路next,这时候安装好还不行,svn 依然是Mac 默认的svn *
出现的问题
The Subversion command line client detected on your machine, "/usr/bin/svn", is too old to work with the working copy located at "/Users/username/path/to/working_copy". You are using version 1.7.10, while the working copy was created with Subversion 1.8.0 or newer.
解决方案
vim ~/.profile
- 文本尾部插入
export PATH="/opt/subversion/bin:$PATH"
保存并退出 -
svn --version
看下是否切换到下载到的版本