SVN how upgrade working copy

落爺英雄遲暮 提交于 2019-12-05 21:52:40

You try to upgrade already 1.7 (WC-NG) working copy. But upgrade needed only once for 1.6 WC

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.

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)

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)

Please try the following commands from command line

cd <working copy>
svn upgrade

Your internal working copy does not comply with 1.7 version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!