I recently came across a error with subversion which seems to happen on Ubuntu / Debian based distros which utilize the apt-get package management system. Its a small bug and a easy fix however it did take me a little time to figure it out so I felt like maybe a short post might help the next guy.
The Exact Error:
svn: This client is too old to work with working copy ‘/pentest/exploits/framework3’. You need
to get a newer Subversion client, or to downgrade this working copy.
I got this particular error while trying to svn update the metasploit framework on Backtrack 4, however, I also got the same error while trying to update redmine the other day via svn. The solution is quite simple, what happens is the the .svn hidden files in a svn co directory fail to update for some reason so when when you issue the svn up command, the project thinks your svn version is out dated.
This fix is really simple. Just download this python script and run it with the path to the root of your subversion projects directory. So in my example I am trying to update the Metasploit framework via svn. The root of the project is in the /pentest/exploits/framework3/ directory which is where I would normally issue the svn up command.
Python Command To Run:
- python change-svn-wc-format.py /pentest/exploits/framework3/ 1.5
Notice that I run the script with two arguments. The first is the complete path the the root of the svn project and the second is the version of subversion that I need to change it to which in this case is 1.5
Once that is run you can go back into the directory and svn up like usual. Hope that helps a few people because it was a headache for me to figure out.