Downgrade Subversion 1.8 working copy to 1.7

后端 未结 4 1602
闹比i
闹比i 2021-02-01 21:06

Has anybody already managed to downgrade from Subversion 1.8 to Subversion 1.7? The provided script at http://svn.apache.org/repos/asf/subversion/trunk/tools/client-side/change-

4条回答
  •  孤独总比滥情好
    2021-02-01 21:36

    I success to downgrade svn from 1.8 to 1.7 by following this post: Install a Specific Version of a Tool on OS X With Homebrew。

    Uninstall the previous version:

    $ brew uninstall svn
    $ sudo mv /usr/bin/svn /usr/bin/svn1.8
    

    Find out how old versions are called:

    $ brew search subversion
    subversion
    homebrew/versions/subversion16  homebrew/versions/subversion17
    

    Install old versions:

    $ brew tap homebrew/versions
    Cloning into '/usr/local/Library/Taps/homebrew-versions'...
    remote: Counting objects: 1022, done.
    remote: Compressing objects: 100% (566/566), done.
    remote: Total 1022 (delta 585), reused 873 (delta 456)
    Receiving objects: 100% (1022/1022), 250.05 KiB | 428 KiB/s, done.
    Resolving deltas: 100% (585/585), done.
    Tapped 98 formula
    
    $ brew install subversion17
    ==> Downloading http://www.apache.org/dyn/closer.cgi?path=subversion/subversion-1.7.10.tar.bz2
    Already downloaded: /Library/Caches/Homebrew/subversion17-1.7.10.tar.bz2
    ==> ./configure --prefix=/usr/local/Cellar/subversion17/1.7.10 --with-apr=/usr/bin --with-ssl --with-zlib=/usr --with-sqlite=/usr/local/opt/sqlite --with-serf=/usr/local/opt/serf --disable-neon-version-check --disable-mod-activation --disable-nls --without-apache-libexecdir --without-berkel
    ==> make
    ==> make install
    ==> make tools
    ==> make install-tools
    ==> Caveats
    Bash completion has been installed to:
      /usr/local/etc/bash_completion.d
    ==> Summary
    /usr/local/Cellar/subversion17/1.7.10: 106 files, 7.7M, built in 3.1 minutes
    

    After downgrade, you may encounter the sqlite version error, you can refer this post if it do happen: Subclipse error "svn: SQLite compiled for 3.8.6, but running with 3.8.5"

提交回复
热议问题