Eclipse SVN同步问题
由于硬件问题,我们更换了 SVN 机器。我们从备份到另一台机器建立了相同的环境。
现在 Subversion 似乎工作正常,我可以从 Tortoise 客户端更新、提交和浏览。
但在 Eclipse 中,同步命令(subclipse 插件)存在问题。我也可以从 Eclipse 浏览和提交。
我尝试更改 SVN 界面(从 JavaHL 到 SVNKit)、svn 清理和升级 subclipse 插件,但没有任何帮助。
JavaHL 和 SVNKit 给出不同的错误。
**Error when use JavaHL**
Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources were synchronized.
An error occurred synchronizing /ChemOrbis: Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
**Error when use SVNKit**
Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources were synchronized.
An error occurred synchronizing /ChemOrbis: Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
We changed our SVN machine because of a hardware problem. We established the same environment from back-up to another machine.
Now Subversion seems to work properly, I can update, commit and browse from Tortoise Client.
But in Eclipse problem exist for Synchronize command (subclipse plugin). I can browse and commit from Eclipse too.
I tried to change SVN interface (from JavaHL to SVNKit), svn cleanup and upgrade subclipse plugin, but nothing helps.
JavaHL and SVNKit gives different errors.
**Error when use JavaHL**
Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources were synchronized.
An error occurred synchronizing /ChemOrbis: Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
org.tigris.subversion.javahl.ClientException: RA layer request failed
svn: REPORT of '/svn/ChemOrbis/!svn/vcc/default': 200 OK (http://svn.treda.net)
**Error when use SVNKit**
Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources were synchronized.
An error occurred synchronizing /ChemOrbis: Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
Error getting status for resource P/ChemOrbis org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
org.tigris.subversion.javahl.ClientException: svn: Processing REPORT request response failed: XML document structures must start and end within the same entity. (/svn/ChemOrbis/!svn/vcc/default)
svn: REPORT request failed on '/svn/ChemOrbis/!svn/vcc/default'
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我会尝试清理 - 右键单击项目,然后选择团队/清理...
在很多情况下,这有助于解决同步问题。
I'd try a clean-up - right click on the project, then select Team/Cleanup...
In a lot of cases this helps to solve synchronize problems.
清除eclipse中保存的所有svn密码。尝试不要在 eclipse 中保存任何 svn 密码。
然后在 .subversion/config 文件中更改以下内容:
Clean all svn passwords saved in eclipse. Try do not save any svn passwords in eclipse.
Then in .subversion/config file change this:
这已经解决了我的问题。
This has solved the problem for me.
对我来说这发生了两次。
一旦我像这样解决了——
我用我的更改制作了备份文件。
我关闭了我的日食 ->在 Windows 资源管理器中进入项目 - >转到冲突的文件 ->右键单击-> SVN->恢复。
现在我开始 eclipse ->放回我的更改并且它起作用了。
第二次发生了——
但这没有帮助。
因此,我必须删除 Eclipse 工作区中的项目,然后从 SVN 中检出该项目,它就可以工作了。
-希望有帮助。
It happened twice For me.
Once I resolved Like this --
I made a backup file with my changes .
I closed my eclipse -> go into the prject in windows explorer - > Go to the file in conflict -> right click -> SVN -> Revert.
Now I started eclipse -> put back my changes and it worked.
Second time it happened --
That did not help.
So, I had to delete the project on my eclipse workspace, and checked out the project from SVN and it worked.
-Hope it helps.
与团队一起升级......>升级
然后你就不会看到这些错误。
Upgrade with Team.....>Upgrade
Then you will not see those errors.