SVN upgrade (MAC)

Source: Internet
Author: User
Tags subversion client

original link: http://www.jianshu.com/p/c81712ecccb8

Pre-upgrade SVN version 1.7.20 after upgrade 1.9.2

Steps:

1. Download the latest version of SVN, Link: http://www.wandisco.com/subversion/download#osx

Once you have completed your personal information, you will be sent the download file to your email address.

2. Double-click to install, then all the way without brain installation, note the last step

3. The final step in the installation is to add the SVN address to the PATH variable

To add a method:

(1) $ cd ~

(2) touch. Bash_profile (Create. bash_profile file, if any, skip)

(3) Open-e bash_profile (open file)

(4) Add export Path=/opt/subversion/bin to the file: $PATH

(5) Close after saving

(6) source. Bash_profile (update bash environment variables)

4. Run SVN--version to see if the update was successful

5. Modify the default SVN path for Xcode

(1) cd/applications/xcode.app/contents/developer/usr/bin/

#进入xcode存放svn命令的子目录

(2) mkdir backupsvn #创建备份目录

(3) MV svn* backupsvn/#把旧的svn相关文件移动到备份目录

(4) Ln-s/opt/subversion/bin/svn*./#把新的SVN文件复制到当前目录

My Xcode also has a problem is that after editing the file, there is no change in the file to display the M identifier, quite inconvenient, the following command to solve the problem:

Defaults Write COM.APPLE.XCODEXCSUBVERSIONTOOLPATH/USR/LOCAL/BIN/SVN

(You can set the path to XCode's subversion client by setting Xcsubversiontoolpath)

SVN upgrade (MAC)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.