美文网首页
MAC SVN版本降级

MAC SVN版本降级

作者: 帅气的小男孩q | 来源:发表于2018-08-06 11:25 被阅读0次

    首先命令行查看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)降级成功!

    相关文章

      网友评论

          本文标题:MAC SVN版本降级

          本文链接:https://www.haomeiwen.com/subject/njpwvftx.html