1.MAC下默认的SVN版本1.7
2.
brew info subversion
subversion: stable 1.8.10 (bottled)
https:
//subversion.apache.org/
Not installed
3.brew install subversion
==> Installing dependencies
for subversion: readline, sqlite, openssl
==> Installing subversion dependency: readline
==> Installing subversion
==> Downloading https:
//downloads.sf.net/project/machomebrew/Bottles/subversion-1.8.10_1.mavericks.bottle.3.tar.gz
######################################################################## 100,0%
==> Pouring subversion-1.8.10_1.mavericks.bottle.3.tar.gz
==> Caveats
svntools have been installed to:
/usr/local/opt/subversion/libexec
Bash completion has been installed to:
/usr/local/etc/bash_completion.d
==> Summary
🍺 /usr/local/Cellar/subversion/1.8.10_1: 116 files, 9,4M
4.svn --version
还是1.7
5.设置PATH
export PATH="/usr/local/bin:$PATH"
source ~/.bash_profile
6.再执行svn --version试试吧