For the last couple of weeks I’ve been doing some Java development using NetBeans and every couple of days my checked out copy of the project dies on me. I was getting very frustrated because each time it happened I had to check out an older revision to a new directory, then export the corrupted one into and from there I could check it in. This was not only time consuming but a very messy solution which had the potential mess up my repository. Yet after going through all this work I would again be presented with the following error:
“This client is too old to work with the working copy “C:\path\to\repository.” You need to get a newer Subversion client, or downgrade this working copy. See http://subversion.tigris.org/faq.html#working-copy-format-change for details.”
This error was somewhat misleading, as the site it provided didn’t offer me any insight as to why it was happening. I had the newest version of TortoiseSVN and the error wasn’t happening with any of my Visual Basic or PHP projects, just the Java project. Eventually it dawned on me what was causing this. NetBeans IDE has built in support for Subversion which uses the CollabNet Subversion client. When I was working within the NetBeans IDE the CollabNet client was working behind the scenes and changing files within the .svn folder on my system. When the time came for me to check in my changes through TortoiseSVN I would get the not so helpful error message.
After a quick Google search I found the solution on the NetBeans Forums. In the NetBeans IDE go to Tools->Plugins then under the Installed tab check Subversion and hit Uninstall. The plugin will be removed and you will be prompted to restart the IDE.