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/subversion@1.8-1.8.19.sierr

Already downloaded: /Users/zhangxiaofei/Library/Caches/Homebrew/subversion@1.8-1.8.19.sierra.bottle.tar.gz

==>Pouring subversion@1.8-1.8.19.sierra.bottle.tar.gz

==>Caveats

svntools have been installed to:

  /usr/local/opt/subversion@1.8/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/subversion@1.8/bin:$PATH"' >> ~/.bash_profile

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

    LDFLAGS:  -L/usr/local/opt/subversion@1.8/lib

    CPPFLAGS: -I/usr/local/opt/subversion@1.8/include

Bash completion has been installed to:

  /usr/local/opt/subversion@1.8/etc/bash_completion.d

==>Summary

🍺  /usr/local/Cellar/subversion@1.8/1.8.19: 128 files, 9.2MB

localhost:~ zhangxiaofei$ 

  4, 执行 echo 'export PATH="/usr/local/opt/subversion@1.8/bin:$PATH"' >> ~/.bash_profile 然后 source .bash_profile。 

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

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容