如何解决SVN错误“E200030:在”< CHECKOUT_DIRECTORY>“中检测到未完成的事务? [英] How do I resolve SVN error "E200030: There are unfinished transactions detected in '<CHECKOUT_DIRECTORY>'"?

查看:6843
本文介绍了如何解决SVN错误“E200030:在”< CHECKOUT_DIRECTORY>“中检测到未完成的事务?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了一个带有Windows 10,Eclipse Mars,Subversive Plugin,SVNKit 1.8.11的虚拟盒子,并尝试在已经在其他几个环境中成功完成的配置中设置了一些存储库。 SVN服务器是使用Subversion 1.6.17的Debian 7系统。只有在我设置上述系统后才会出现以下问题:


  1. 退房:e。 G。 SVN存储库 - >展开Repository X - >右键单击trunk - > check-out - >发生错误:svn:// host / X / trunk的Checkout操作失败svn:E200030:有未完成的事务在C:\PathToWorkspace\X中检测到

  2. 显然,Subversive插件停止工作。

  3. 导出:与退房

进一步的调查让我到了存储库中的一个特定文件,该文件无法加载无效句柄错误。它不是在一个奇怪的路径(不太长,没有空格或特殊字符),文件本身不包含可疑字符,只是Unix换行符。磁盘上的权限和空间是可以的。具有相同属性的其他辅助功能DO按预期工作。



我发现有类似问题的帖子,但是没有一个应用于我的,显然。他们告诉我要擦除我的工作区目录(我所做的),但是我没有解决问题就丢失了所有的设置。之后,我调查了Eclipse的程序目录,它没有带来任何更大的成功。



此外,.svn\wc.db文件仍然是失败后锁定。因此,在关闭Eclipse之前,删除存储库是不可能的。目录不在eclipse中的任何项目列表/树中列出,就像包资源管理器一样,但磁盘上存在该目录。



同样的存储库X仍然可以在每个我有其他配置为了修复这个问题,我如何重置这些交易?我真的想避免完全重新安装Eclipse甚至Windows。



编辑
我已经将TortoiseSVN 1.16.16.21511(x64)这完全符合SVN服务版本。

解决方案

我终于找到了:从项目中创建文件con.cpp和con.h显然被Windows拒绝了。据我所知,con是Windows中的一个保留命令或子命令。将其重命名为存储库中的其他东西解决了问题。


I have installed a virtual box with Windows 10, Eclipse Mars, Subversive Plugin, SVNKit 1.8.11 and tried to set up some repositories in a configuration I already did successfully in several other environments. The SVN server is a Debian 7 system with Subversion 1.6.17. The following problem occurs only since I set up the above mentioned system:

  1. Check-out: e. g. SVN-Repositories -> expand Repository X -> right-click on trunk -> check-out -> Error occurs: "Checkout operation for 'svn://host/X/trunk' failed. svn: E200030: There are unfinished transactions detected in 'C:\PathToWorkspace\X'"
  2. After this the Subversive plugin stops working, apparently.
  3. Export: same result as check-out

Further investigation got me to a specific file in the repository, which fails loading with "invalid handle" error. It is not in a "strange" path (not too long, no spaces or special characters) and the file itself contains no suspicious characters, just Unix line breaks. Permissions and space on disk are OK. Other respositories with the same properties DO work as expected.

I found posts with similar problems, but none of them applied to mine, apparently. They told me to wipe my workspace directory (which I did), but I just lost all of my settings without solving the problem. After this, I investigated the program directory of Eclipse, whicht didn't bring any more success.

Additionally, the ".svn\wc.db" file is still locked after the failure. Deleting the repository is therefore not possible until closing Eclipse. The directory is not listed in any project list/tree in eclipse like the package explorer, but the directory exists on the disk.

The same repository X still works in every of the other configurations I have. How can I reset these "transactions" in order to repair this? I really would like to avoid completely reinstalling Eclipse or even Windows.

EDIT I istalled TortoiseSVN 1.16.16.21511 (x64), which perfectly fits to the SVN service version. Same problem.

解决方案

I finally got it: creating the files "con.cpp" and "con.h" from the project had apparently been rejected by Windows. As far as I remember, "con" is kind of a reserved command or sub command in Windows. Renaming it to something else right in the repository solved the problem.

这篇关于如何解决SVN错误“E200030:在”< CHECKOUT_DIRECTORY>“中检测到未完成的事务?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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