当尝试使用Eclipse颠覆插件提交时,获取“签出只能在版本资源上执行”

内容来源于 Stack Overflow,并遵循CC BY-SA 3.0许可协议进行翻译与使用

  • 回答 (2)
  • 关注 (0)
  • 查看 (36)

我在Mac10.7.5、SVN1.7和Eclipse颠覆插件上使用EclipseJuno。Occassioanlly,当我尝试从我的项目提交更改时(右击PackageExplorer中的项目,选择“Team”->“COMMIT”),我会得到错误:

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?

提问于
用户回答回答于

清理:

右键点击project- > team- >cleanup / refresh

用户回答回答于

这很可能你的控制台SVN版本与Eclipse“SVNKIT(纯Java)”版本不同,可以使用“JavaHL(JNI)”更改Preferences=>Team=>SVN=>SVN接口=>Client

我的情况如下,使用JavaHL 1.7.10是可以的,但是使用SVNKITv1.7.9将有问题。

wuliang-Mac:src wwu$ svn --version
svn, version 1.7.10 (r1485443)
compiled Jul  9 2013, 12:55:03

扫码关注云+社区