Cannot Commit to the SVN - CHECKOUT can only be performed on a version resource [at this time]

蓝咒 提交于 2019-12-04 17:29:53

问题


I am trying to commit some classes and XML files to SVN but I keep getting this error message:

svn: E200007: Commit failed (details follow): svn: E200007: CHECKOUT can only be performed on a version resource [at this time]. svn: E175002: CHECKOUT request failed on '/svn/SriLankaLottery-app/!svn/rvr/31/trunk/DealsDirect/src/com/elottery/Login.java'

I also tried to update the code and then commit, but it still does not work.


回答1:


Have a clean up and see, normally it works.

right click on the project -> team -> cleanup / refresh




回答2:


For those that project -> team -> cleanup doesn't work in eclipse try:

  • Force the cleanup using SVN Tortoise
  • From terminal with command svn cleanup /folder_to_cleanup



回答3:


clean/refresh does not work for me.(Mac OSX+eclipse+SVNKit)I just copy my project from mac to Windows, and commit success with TortoiseSVN. I did't get the work reason, but if someone stuck here(clean/refresh not work) may try this way.

EDIT: this is might Subclipse's bug, finally I type 'svn cleanup /folderNameYouWantToClean' in terminal and resolve the issue.




回答4:


Ran into the same error in Netbeans, similar solution Right click project - > Subversion - > clean up working copy




回答5:


in my case JavaHL was not present (Eclipse -> Preferences -> Team -> SVN, client)

to install it

sudo apt-get install libsvn-java
sudo ln -s /usr/lib/x86_64-linux-gnu/jni/* /usr/lib/

Now restart Eclipse and you should be able use Subsclipse with JavaHL.




回答6:


I got the same issue and I fixed it by checking out the project using NetBeans.




回答7:


I had the same problem,
Working on windows and netbeans, and I don't have console access.

- I tried cleaning up project, did'nt work
- project > subversion > working copy > clean up, did'nt work

Then

browse into winodws files
find the project
right click
chose TortoiseSVN
Cleanup...
checked: clean up working copy status and include externals (they are set as default)


That's all, I was able to commit from netbeans enviroment.

Hope this help someone.




回答8:


I have just faced this problem using Eclipse Mars and SVNKit 1.8.14.

Cleanup didn't solve the problem.

I changed the SVN Connector to Native JHL 1.9.3, and it worked right away.



来源:https://stackoverflow.com/questions/18268268/cannot-commit-to-the-svn-checkout-can-only-be-performed-on-a-version-resource

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