I cannot do a SVN commit. I get this error:
org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)
How can it be fixed?
I cannot do a SVN commit. I get this error:
org.apache.subversion.javahl.ClientException: The working copy needs to be upgraded
svn: Working copy 'C:\.... is too old (format 10, created by Subversion 1.6)
How can it be fixed?
If you have just upgraded to SVN 1.7 on your machine (like I just did), and have a lot of projects in your Eclipse workspace which need to be upgraded, you can do the following in a terminal window on Unix-baesd systems:
After Googling a bit, I found what seems to be the equivalent for Windows users:
http://www.rqna.net/qna/mnrmqn-how-to-find-all-svn-working-copies-on-win-xp.html
See the answer by Alexey Shcherbak halfway down the page.
You can also get strange messages about the need to upgrade your working copy when there are other working copies nested into yours. I had this issue with a Symphony project were some framework folders are working copy, that I suppose have not been cleaned up properly before they were published.
In this case, just make a file search for
.svn
, and delete the.svn
folders that you don't want (don't delete yours at the root of course).from eclipse, you can select on the project, right click->team->upgrade
You have to upgrade your subversion client to at least 1.7.
With the command line client, you have to manually upgrade your working copy format by issuing the command
svn upgrade
:TortoiseSVN will perform the working copy upgrade with the next write operation:
You can upgrade to Subversion 1.7. In order to update to Subversion 1.7 you have to launch existing project in Xcode 5 or above. This will prompt an warning ‘
The working copy ProjectName should be upgraded to Subversion 1.7
’ (shown in below screenshot).You should select ‘
Upgrade
’ button to upgrade to Subversion 1.7. This will take a bit of time.If you are using terminal then you can upgrade to Subversion 1.7 by running below command in your project directory: svn upgrade
Note that once you have
upgraded to Subversion 1.7 you cannot go back to Subversion 1.6.
Refer Apple docs for more details.
After upgrading to the latest version of Tortoise-SVN I needed to do an "Upgrade" first (as opposed to "Update"!).