Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

like image 228
TharakaNirmana Avatar asked Aug 16 '13 07:08

TharakaNirmana


5 Answers

Have a clean up and see, normally it works.

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

like image 66
Shaolin Avatar answered Nov 12 '22 17:11

Shaolin


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
like image 40
FLBKernel Avatar answered Nov 12 '22 18:11

FLBKernel


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.

like image 5
Chris Ho Avatar answered Nov 12 '22 16:11

Chris Ho


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

like image 2
jromaine Avatar answered Nov 12 '22 16:11

jromaine


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.

like image 2
niraj.nijju Avatar answered Nov 12 '22 17:11

niraj.nijju