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

StackOverflow https://stackoverflow.com/questions/18268268

  •  24-06-2022
  •  | 
  •  

Вопрос

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.

Это было полезно?

Решение

Have a clean up and see, normally it works.

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

Другие советы

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

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.

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

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.

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.

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

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top