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)降级成功!

    原文作者:帅气的小男孩q
    原文地址: https://www.jianshu.com/p/865fea5850c0
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞