SVN upgrade working copy

后端 未结 10 1549
粉色の甜心
粉色の甜心 2020-11-28 23:19

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:\\....          


        
10条回答
  •  有刺的猬
    2020-11-29 00:08

    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:

    cd [eclipse/workspace] # <- you supply the actual path here
    
    for file in `find . -depth 2 -name "*.svn"`; do svn upgrade `dirname $file` ; done;
    

    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.

提交回复
热议问题