SVN upgrade to 1.6.6
// December 17th, 2009 // guides, work
After being pointed out by ejat about the OSCC SVN server was being slow (or something, along the line of should upgrade to 1.5 for faster process) so I went out and check out SVN was indeed of version 1.4.2, the latest is 1.6.6.
On CentOS machine:
Stop any service that’s running httpd, svnserve, etc.
Add RPMForge repository as that’s where the latest SVN is
# i386 $ wget http://apt.sw.be/redhat/el5/en/i386/RPMS.dag/rpmforge-release-0.3.6-1.el5.rf.i386.rpm $ rpm -i rpmforge-release-0.3.6-1.el5.rf.*.rpm
This will create /etc/yum.repo.d/rpmforge.repo file. Edit this file, change enable=0 as RPMForge contains bleeding edge, often unstable packages. You don’t want to do $ yum update accidentally and put your entire system at risk if you don’t know what you’re doing.
You may not need this but just in case, backup your SVN repo.
$ svnadmin dump /path/to/repository > dumpfile.txt
If anything goes wrong, even if you install a new copy of SVN, you can recover you data with this:
$ svnadmin create /path/to/newrepository $ svnadmin load /path/to/newrepository < dumpfile.txt
Now check for SVN update
$ yum --enablerepo=rpmforge check-update subversion
It should display the latest version like this
subversion.x86_64 1.6.6-0.1.el5.rf rpmforge
Then upgrade
$ yum --enablerepo=rpmforge update subversion
This will update SVN from the RPMForge.
Restart the service httpd, svnserve, etc.


