问题
I use STS for working with SVN. When I try upgrade (version 1.6) I received this error:
org.apache.subversion.javahl.ClientException: Invalid operation on the current working directory
svn: Can't upgrade 'C:\..... as it is not a pre-1.7 working copy directory
Can't find an entry svn: Missing default entry But is sure that missed - I have add new folder. How it can be resolved? Thanks.
回答1:
You try to upgrade already 1.7 (WC-NG) working copy. But upgrade needed only once for 1.6 WC
回答2:
I know this question is quite old, but for people who stumble upon it like I did and are still having problems, there is one gotchya that you should be aware of: This command will fail if not run from the working copy root. In my case, I was in a sub-folder and received the error message:
svn: E155019: Can't upgrade '<path_to_sub_folder>' as it is not a pre-1.7 working copy root, the root is '<my_working_copy_root>'
Simply change to the working copy root and issue the previously mentioned
svn upgrade
All should be well, then.
回答3:
Carefully read the error message, for within it is contained the name of a sub-folder in your working copy that has not been upgraded for 1.7 usage. Henceforth, upgrade that specific folder:
svn upgrade ./[folder name]
(or whatever command your SVN client uses)
回答4:
Probably upgrading you project to 1.7 didn't work.. there you'll be in big trouble since svn1.7 won't handle 1.6 projects (incredible but true oO)
回答5:
Please try the following commands from command line
cd <working copy>
svn upgrade
Your internal working copy does not comply with 1.7 version
来源:https://stackoverflow.com/questions/7992137/svn-how-upgrade-working-copy