Eclipse中提交失败 [英] Commit failed in Eclipse

查看:923
本文介绍了Eclipse中提交失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用SVN在Eclipse Juno Service Release 2中提交一个java文件



当我在文件上执行Team / Commit时,我得到以下内容。 p>

 某些资源未被提交。 
某些资源未被提交。
svn:E155011:提交失败(详细信息):
svn:E155011:提交失败(详细信息):
svn:E155011:文件'C:\Users\ ... \workspace\ ... \src\com\MyCode.java'已过期



 当我尝试和做团队/更新 - 无论是文件或文件夹还是项目资源没有更新。 
svn:E175002:chunked stream unexpectedly
svn:E175002:REPORT request failed on'/ svn / project /!svn / vcc / default'

我尝试过


  1. 重新启动Visual SVN服务器

  2. 删除.java文件,然后再次添加

  3. 重命名.java文件,然后重命名

  4. 更新Eclipse和SVN软件,再次尝试

  5. 团队/恢复,团队/更新,更改,团队/提交

任何人都可以帮忙吗? (所有其他文件/文件夹等工作正常)



PS此问题从 https://superuser.com/questions/585724/commit-failed-in-eclipse

解决方案

您还可以创建另一个工作区,创建一个新的subversion项目,并将整个代码库从subversion下载到这个新工作区。然后手动将.java文件复制到新的工作区,并尝试签入。如果它放弃了旧的工作区。


I am trying to commit one java file in Eclipse Juno Service Release 2 using SVN

When I do Team/Commit on the file I get the following.

Some of selected resources were not committed.
Some of selected resources were not committed.
svn: E155011: Commit failed (details follow):
svn: E155011: Commit failed (details follow):
svn: E155011: File 'C:\Users\...\workspace\...\src\com\MyCode.java' is out of date

When I try and do Team/Update - whether on the file or the folder or the project, I get

Some resources were not updated.
svn: E175002: chunked stream ended unexpectedly
svn: E175002: REPORT request failed on '/svn/project/!svn/vcc/default'

I have tried

  1. Restarting Visual SVN Server
  2. Deleting the .java file and then adding it again
  3. Renaming the .java file, and then renaming it back
  4. Updating the Eclipse and SVN software, and trying again
  5. Team/Revert, Team/Update, making changes, Team/Commit

Can anyone help? (all other files/folders etc. work fine)

PS This question was copied from https://superuser.com/questions/585724/commit-failed-in-eclipse

解决方案

You could also just create another workspace, create a new subversion project and download the entire code base from subversion to this new workspace. Then hand copy the .java file over to the new workspace and try to check in. If it works abandon your old workspace.

这篇关于Eclipse中提交失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆