SVN upgrade working copy

后端 未结 10 1550
粉色の甜心
粉色の甜心 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-28 23:52

    You can also get strange messages about the need to upgrade your working copy when there are other working copies nested into yours. I had this issue with a Symphony project were some framework folders are working copy, that I suppose have not been cleaned up properly before they were published.

    In this case, just make a file search for .svn, and delete the .svn folders that you don't want (don't delete yours at the root of course).

    0 讨论(0)
  • 2020-11-28 23:53

    If you're getting this error from Netbeans (7.2+) then it means that your separately installed version of Subversion is higher than the version in netbeans. In my case Netbeans (v7.3.1) had SVN v1.7 and I'd just upgraded my SVN to v1.8.

    If you look in Tools > Options > Miscellaneous (tab) > Versioning (tab) > Subversion (pane), set the Preferred Client = CLI, then you can set the path the the installed SVN which for me was C:\Program Files\TortoiseSVN\bin.

    More can be found on the Netbeans Subversion Clients FAQ.

    0 讨论(0)
  • 2020-11-29 00:01

    from eclipse, you can select on the project, right click->team->upgrade

    0 讨论(0)
  • 2020-11-29 00:01

    This problem due to that you try to compile project that has the files of OLder SVN than you currently use.

    You have two solutions to resolve this problem

    1. to install the version 1.6 SVN to be compatible with project SVN files
    2. try to upgrade the project ..( not always working ).
    0 讨论(0)
  • 2020-11-29 00:01

    You can upgrade to Subversion 1.7. In order to update to Subversion 1.7 you have to launch existing project in Xcode 5 or above. This will prompt an warning ‘The working copy ProjectName should be upgraded to Subversion 1.7’ (shown in below screenshot).

    You should select ‘Upgrade’ button to upgrade to Subversion 1.7. This will take a bit of time.

    If you are using terminal then you can upgrade to Subversion 1.7 by running below command in your project directory: svn upgrade

    Note that once you have upgraded to Subversion 1.7 you cannot go back to Subversion 1.6.

    Refer Apple docs for more details.

    0 讨论(0)
  • 2020-11-29 00:05

    After upgrading to the latest version of Tortoise-SVN I needed to do an "Upgrade" first (as opposed to "Update"!).

    0 讨论(0)
提交回复
热议问题