Although the code management has been Git-enabled, even if you need to protect some old cases or use SVN, lazy .
Mac OS itself has built-in SVN, but it is version 1.6, recently modified an old case has encountered project has risen 1.7,versions and SMARTSVN also use 1.7, only Terminal command line is 1.6 of the embarrassment Border. So I want to update it, in the simplest way.
First to Http://www.wandisco.com/subversion/download for Mac OS SVN, the latest version is Subversion 1.7.16 for OSX 10.8.x. Then, in the general App installation mode, the installation path is/opt/subversion.
Then enter export Path=/opt/subversion/bin in Terminal : $PATH To change the system path. Sauce, done.
You can use SVN--version to see the version number.
Post-Installation Notes
You are successfully installed the Subversion 1.9.4 Universal binary for OS X El Capitan (10.11). Remember to Prepend/opt/subversion/bin to your PATH environment variable. This can-be-done a multitude of ways-an-one is-to-add the following to the end of ~/.profile:
Export Path=/opt/subversion/bin: $PATH
If you plan on running a apache-based Subversion server, you'll also need to prepend the Dyld_library_path variable in /usr/sbin/envvars With/opt/subversion/lib So, the Subversion libraries shipped with this binary is used instead of T Hose supplied by the operating system. Here is a example snippet of What/usr/sbin/envvars might look like after making these changes:
...
Dyld_library_path= "/opt/subversion/lib:/usr/lib: $DYLD _library_path"
...
You'll also need to update the SSL portion of your httpd.conf if you ' re using SSL:
Sslprotocol ALL-SSLV2-TLSV1
What's this does are disable SSL v2 and TLS which would force SSLv3. The reason for around a bug on the OpenSSL library shipped with OS x.
These packages is provided by WANdisco (http://www.wandisco.com). If you wish to get help or provided feedback, please email [email protected]
Subversion version method for upgrading terminal/terminal under Mac