Getting “CHECKOUT can only be performed on a versi

2019-01-13 14:17发布

I'm using Eclipse Juno on Mac 10.7.5, SVN 1.7 and the Eclipse Subversive plugin. Occassioanlly, when I try and commit changes from my project (by right clicking on the project from the package explorer, selecting "Team" -> "Commit"), I get the error:

Some of selected resources were not committed.
Some of selected resources were not committed.
svn: E200007: Commit failed (details follow):

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/subco-digital.coderepo/!svn/rvr/2110/trunk/myproject/src/main/java/org/mainco/subco/myproject/validator/UserFormValidator.java'

I have verified that I have checked out the latest version of my project. How can I take care of these repeated errors?

8条回答
时光不老,我们不散
2楼-- · 2019-01-13 15:07

@wu liang asnwer worked for me. but i had to goto Preferences=>Team=>SVN=>SVN Connectors=>Native JavaHL

screenshot 1:

enter image description here

Screenshot 2:

enter image description here

查看更多
\"骚年 ilove
3楼-- · 2019-01-13 15:08

I had hard time solving this issue and I finally figured out what happened.

If you use SVN add-on with Eclipse or IntelliJ IDEA and delete some files our of it (from system's file browser, then you will get this message as well.

The only way I was able to solve it in IDEA was to commit changes via external SVN tool, then reopened the IDE and checkout changes. After that I was able to commit with no such error.

查看更多
登录 后发表回答