MAC SVN版本降级

首先命令行查看SVN版本 svn --version  svn, version 1.9.4 (r1740329)

1,执行  brew list 如果列表中 有 subversion . 请运行 brew uninstall subversion 删除。并运行  brew cleanup。

2,在终端 使用 brew search subversion 搜索可用的SVN版本。

3,在终端 使用 brew install  subversion@18 安装。安装完毕后。

Updating Homebrew...

==>Downloading https://homebrew.bintray.com/bottles/[email protected]

Already downloaded: /Users/zhangxiaofei/Library/Caches/Homebrew/[email protected]

==>Pouring [email protected]

==>Caveats

svntools have been installed to:

  /usr/local/opt/[email protected]/libexec

This formula is keg-only, which means it was not symlinked into /usr/local,

because this is an alternate version of another formula.

If you need to have this software first in your PATH run:

  echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile

For compilers to find this software you may need to set:

    LDFLAGS:  -L/usr/local/opt/[email protected]/lib

    CPPFLAGS: -I/usr/local/opt/[email protected]/include

Bash completion has been installed to:

  /usr/local/opt/[email protected]/etc/bash_completion.d

==>Summary

  /usr/local/Cellar/[email protected]/1.8.19: 128 files, 9.2MB

localhost:~ zhangxiaofei$ 

  4, 执行 echo 'export PATH="/usr/local/opt/[email protected]/bin:$PATH"' >> ~/.bash_profile 然后 source .bash_profile。 

最后查看SVN版本 svn --version svn, version 1.8.19 (r1800620)降级成功!

你可能感兴趣的:(MAC SVN版本降级)