Ankhsvn Error: Client too old to work with working copy

ankhsvnsvnvisual-studio-2005

I am using Ankhsvn 2.0.6347.433 with Visual Studio 2005 and it's reporting that Ankhsvn's subversion client is too old for the working copy. The given error links to http://subversion.tigris.org/faq.html#working-copy-format-change which talks about using a 1.4.4 subversion client on a subversion 1.5 formated checkout.

Ankhsvn's home page says that Ankhsvn 2.0 and above uses subversion 1.5 internally. The link doesn't mention anything about 1.5 clients having issues.

My own limited troubleshooting hasn't turned up anything I can directly point to but I do have TortoiseSVN 1.6.1 installed which uses Subversion 1.6.1 internally. I have a habit of using TortoiseSVN to commit stuff in my project folder which would bypass anything Ankhsvn is doing. Would this be causing a similar problem that trying to use 1.4.4 and 1.5 clients would cause or is something else happening?

Edit: Okay, I shouldn't mix 1.6 and 1.5 clients.

How do I fix this? I would like to use AnkhSVN if possible.

Best Answer

If you look on the release notes for subversion 1.6 you will see the following

The working copy format has been upgraded. This means that 1.5 and older Subversion clients will not be able to work with working copies produced by Subversion 1.6. Working copies are upgraded automatically.

So if you use a 1.6 based client, no previous versions will work. On further reading of the release notes you should be able to downgrade your working copy if required...

WARNING: if a Subversion 1.6 client encounters a pre-1.6 working copy, it will automatically upgrade the working copy format as soon as it touches it, making it unreadable by older Subversion clients. If you are using several versions of Subversion on your machine, be careful about which version you use in which working copy, to avoid accidentally upgrading a working copy. (But note that this "auto upgrade" behavior does not occur with the repositories, only working copies.)

If you accidentally upgrade a 1.5 working copy to 1.6, and wish to downgrade back to 1.5, use the change-svn-wc-format.py script. See this FAQ entry for details, and run the script with the --help option for usage instructions.