Upgrade Subversion 1.6 to 1.7 on CentOS? (can't find yum repository)
You could just build from the sources.
The following worked for me (although you may not want to do the update or install every package in "Development tools" and "Additional Development"):
sudo yum update
sudo yum groupinstall "Development tools"
sudo yum groupinstall "Additional Development"
wget https://archive.apache.org/dist/subversion/subversion-1.7.8.tar.gz
tar zxvf subversion-1.7.8.tar.gz
cd subversion-1.7.8
./get-deps.sh
./configure
make
make check
sudo make install
On my system this seems to put the binary in /usr/local/bin/svn whereas the 1.6 binary is in /usr/bin/svn so you might need set up an alias.
This seems to be a solution http://www.wandisco.com/subversion/download#centos I haven't tried it but it is officially supported http://subversion.apache.org/packages.html#centos
I used the rpmforge repository: http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
After having installed the rpm-forge package, I installed subversion 1.7 by issuing this command:
sudo yum install --enablerepo=rpmforge-extras subversion
Completely painless upgrade.
You can do this to upgrade your subversion :
For CentOS/RHEL 7 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/7/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=1
For CentOS/RHEL 6 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/6/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=1
For CentOS/RHEL 5 Users:
[WandiscoSVN]
name=Wandisco SVN Repo
baseurl=http://opensource.wandisco.com/centos/5/svn-1.8/RPMS/$basearch/
enabled=1
gpgcheck=1
Next you create a repo for your subversion:
vi /etc/yum.repos.d/wandisco-svn.repo
Copy paste which one repo you used to wandisco-svn.repo
file.
Then optionally, but advised, add the repository gpg signature:
wget http://opensource.wandisco.com/RPM-GPG-KEY-WANdisco
gpg --quiet --with-fingerprint ./RPM-GPG-KEY-WANdisco
rpm --import ./RPM-GPG-KEY-WANdisco
And finally execute this below :
yum clean all
yum remove subversion
yum install epel-release
yum install subversion
Don't forget to use your root access to do that. :D