Eclipse SVN同步问题

发布于 2024-09-28 10:19:46 字数 2495 浏览 3 评论 0原文

由于硬件问题,我们更换了 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

揽清风入怀 2024-10-05 10:19:46

我会尝试清理 - 右键单击​​项目,然后选择团队/清理...

在很多情况下,这有助于解决同步问题。

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.

落叶缤纷 2024-10-05 10:19:46

清除eclipse中保存的所有svn密码。尝试不要在 eclipse 中保存任何 svn 密码。

然后在 .subversion/config 文件中更改以下内容:

[auth]
# other config options
# you should reset password stores here
password-stores = 

Clean all svn passwords saved in eclipse. Try do not save any svn passwords in eclipse.

Then in .subversion/config file change this:

[auth]
# other config options
# you should reset password stores here
password-stores = 
不奢求什么 2024-10-05 10:19:46
  1. 清理工作区
  2. 从工作区删除项目
  3. 从 SVN 重新导入项目

这已经解决了我的问题。

  1. Clean the workspace
  2. Delete the project from workspace
  3. Re-import the project from SVN

This has solved the problem for me.

笔落惊风雨 2024-10-05 10:19:46

对我来说这发生了两次。
一旦我像这样解决了——
我用我的更改制作了备份文件。
我关闭了我的日食 ->在 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.

放肆 2024-10-05 10:19:46

与团队一起升级......>升级
然后你就不会看到这些错误。

Upgrade with Team.....>Upgrade
Then you will not see those errors.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文