http://xiayong.blog.51cto.com/6292420/1186124
- $ which svn
- /usr/bin/svn
- $ ls /usr/bin/svn*
- /usr/bin/svn /usr/bin/svndumpfilter /usr/bin/svnrdump /usr/bin/svnsync
- /usr/bin/svnadmin /usr/bin/svnlook /usr/bin/svnserve /usr/bin/svnversion
- $ sudo rm -rf /usr/bin/svn*
- $ sudo ln -s /opt/subversion/bin/svn* /usr/bin/
- $ svn --version
- svn, version 1.7.9 (r1462340)
- compiled Apr 3 2013, 13:49:20
- Copyright (C) 2013 The Apache Software Foundation.
- This software consists of contributions made by many people; see the NOTICE
- file for more information.
- Subversion is open source software, see http://subversion.apache.org/
- The following repository access (RA) modules are available:
- * ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- - handles 'http' scheme
- - handles 'https' scheme
- * ra_svn : Module for accessing a repository using the svn network protocol.
- - with Cyrus SASL authentication
- - handles 'svn' scheme
- * ra_local : Module for accessing a repository on local disk.
- - handles 'file' scheme
- * ra_serf : Module for accessing a repository via WebDAV protocol using serf.
- - handles 'http' scheme
- - handles 'https' scheme
- $ ls /Applications/Xcode.app/Contents/Developer/usr/bin/svn*
- /Applications/Xcode.app/Contents/Developer/usr/bin/svn
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnadmin
- /Applications/Xcode.app/Contents/Developer/usr/bin/svndumpfilter
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnlook
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnrdump
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnserve
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnsync
- /Applications/Xcode.app/Contents/Developer/usr/bin/svnversion
- $ sudo rm -rf /Applications/Xcode.app/Contents/Developer/usr/bin/svn*
- $ sudo ln -s /opt/subversion/bin/svn* /Applications/Xcode.app/Contents/Developer/usr/bin/
- $ sudo cp /opt/subversion/bin/svn* /Applications/Xcode.app/Contents/Developer/usr/bin/
- $ svn upgrade