Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN how upgrade working copy

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.

like image 760
user810430 Avatar asked Dec 06 '22 18:12

user810430


2 Answers

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.

like image 175
MysteryMoose Avatar answered Dec 09 '22 08:12

MysteryMoose


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)

like image 43
klokop Avatar answered Dec 09 '22 07:12

klokop