If you’re getting a ‘svn: Can’t find a temporary directory: Internal error’ error while using subversion, check the disk space on the server :
$ df You’re more than likely out of space.
[dave@dev2:~/]$ df Filesystem 1K-blocks Used Available Use% Mounted on /dev/vg0-rootvol 73608360 73605908 0 100% /
Install a couple of packages via yum : $ sudo yum install httpd subversion mod_dav_svn ...
Make sure you have a newish version of libtool $ wget http://ftp.gnu.org/gnu/libtool/libtool-1.5.22.tar.gz $ tar xvzf libtool-1.5.22.tar.gz $ cd libtool-1.5.22 $ ./configure $ make $ make install ...
To recover your repository if you’re getting Corrupted error messages :
$ sudo svnadmin recover /home/svn/repository/your_repository_name
Simple one-liner for getting the svn revision number - useful for shell scripts :
svn log --revision "HEAD" | head -2 | tail -1 | awk '{print $1}' | cut -c 2-
Update There is a better walk-through for installing subversion with apache here .
...