SVN how upgrade working copy

user810430 picture user810430 · Nov 3, 2011 · Viewed 32.7k times · Source

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.

Answer

MysteryMoose picture MysteryMoose · Sep 25, 2013

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.