Useful Snippets

Welcome!


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at Unwanted.cloud

RSS Latest posts from my personal blog


Subscribe to RSS feed


Subversion 1.8 on CentOS 6

Stanislav KhromovStanislav Khromov

If you’re using CentOS 6 you are stuck with SVN 1.6. This is mostly annoying because SVN 1.6 creates a bunch of .svn folders. (One for every subdirectory in all your repositories.)

To upgrade we can use the WANdisco SVN repository and get Subversion 1.8

Let’s do it!

wget https://snippets.khromov.se/wp-content/uploads/2013/09/svninstall.sh_.txt
mv svninstall.sh_.txt svninstall.sh
chmod a+X svninstall.sh
sh svninstall.sh

That’s it!

Full-stack impostor syndrome sufferer & Software Engineer at Schibsted Media Group

Comments 2
  • Max
    Posted on

    Max Max

    Reply Author

    Thanks! It’s helpful


  • Nic Cottrell
    Posted on

    Nic Cottrell Nic Cottrell

    Reply Author

    Alternatively you can set up

    /etc/yum.repos.d/WANdisco-1.8.repo with

    [WANdisco]
    name=WANdisco SVN Repo 1.8
    enabled=1
    baseurl=http://opensource.wandisco.com/rhel/6/svn-1.8/RPMS/
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-WANdisco

    and just do ‘yum upgrade’