SVN用户提交时出现SubGit错误 [英] SubGit error when svn users commit

查看:181
本文介绍了SVN用户提交时出现SubGit错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了SubGit并对其进行了测试. svn用户之一提交文件时,他收到以下错误消息:

I just installed SubGit and test it. When one of svn user commited a file, he got the following error message:

提交失败(详细信息如下): 'pre-commit'挂钩失败,并显示错误:

Commit failed (details follow): 'pre-commit' hook failed with error output:

SubGit错误报告(SubGit版本1.0.2('Miai')内部版本#1764):

SubGit ERROR REPORT (SubGit version 1.0.2 ('Miai') build #1764):

您已收到此消息,因为已安装SubGit(http://subgit.com/) 在您的存储库中 并且SubGit转换中发生了需要处理的错误 引擎.

You've received this message because SubGit (http://subgit.com/) is installed in your repository and an error that needs to be dealt with has occured in SubGit translation engine.

不可恢复的错误: svn:无法将文件'F:\ svn \ testsubgit \ db \ node-origins \ 0.tmp'重命名为 'F:\ svn \ testsubgit \ db \ node-origins \ 0'

UNRECOVERABLE ERROR: svn: Cannot rename file 'F:\svn\testsubgit\db\node-origins\0.tmp' to 'F:\svn\testsubgit\db\node-origins\0'

当前状态: Subversion:只读 Git:读取并写入

CURRENT STATE: Subversion: READ ONLY Git : READ AND WRITE

要恢复: 遵循在中描述的错误恢复程序 http://subgit.com/book/#recovery

TO RECOVER: Follow Error Recovery procedure described at http://subgit.com/book/#recovery

要报告: 1)从服务器获取错误日志,地址为 'F:\ svn \ testsubgit \ subgit \ subgit-sync-20121108-180124.zip'

TO REPORT: 1) Get error log from the server at 'F:\svn\testsubgit\subgit\subgit-sync-20121108-180124.zip'

2) Report an issue at http://issues.tmatesoft.com/

有什么办法可以解决?还是我需要更改SubGit的某些设置?

Is there any way to solve it? Or do I need to change some setting of SubGit?

推荐答案

我是SubGit开发人员,很乐意帮助您解决此问题.首先,请将SubGit日志从'F:\ svn \ testsubgit \ subgit \ subgit-sync-20121108-180124.zip发送到support@subgit.com

I'm SubGit developer and would be glad to help you to resolve this issue. First, please send SubGit logs from 'F:\svn\testsubgit\subgit\subgit-sync-20121108-180124.zip to support@subgit.com

另外,请提供有关您的环境的更多详细信息,尤其是:

Also, please provide more details on your environment, in particular:

a)您的Subversion存储库在哪里(可能是网络驱动器)? b)您是否使用Apache服务器(http协议)访问Subversion存储库? c)您是否使用同一服务(Apache)访问Git存储库?

a) where your Subversion repositories are (could it be network drive)? b) do you use Apache server (http protocol) to access Subversion repositories? c) do you use the same service (Apache) to access Git repositories?

首先要检查的是代表Subversion和Git服务运行的用户(帐户).如果这些用户是不同的用户(例如系统管理员和网络服务),则可能存在权限问题-由一种服务创建的文件将对另一种服务不可用.当您运行"subgit configure"和"subgit install"时,还请确保这些命令是代表运行Apache服务器(或其他服务)的同一用户运行的.

First thing to check are users (accounts) on whose behalf Subversion and Git services run. In case these are different users (e.g. System Administrator and Network Service), then there might be a permissions problem - files created by one services would become unavailable for another. When you run "subgit configure" and "subgit install" also make sure these commands are ran on behalf of the same user that runs Apache server (or another service).

如果您使用网络驱动器在其上存储Subversion存储库,则网络驱动器配置可能是问题的原因,我建议您将存储库移至服务器上的普通驱动器.

In case you're using network drive to store Subversion repositories on, then network drive configuration might be the reason of the problem and I would advise you to move your repositories to the ordinary drive on the server.

此外,服务器上安装的某些抗病毒软件可能会干扰SubGit-尝试将其禁用.

Also, some software antiviral installed on the server might potentially interfer with SubGit - try disabling it.

要从此错误中恢复,请按照 http://subgit.com/book/#recovery-最简单的方法是运行"subgit install --rebuild repos"-但是这样一来,您可能会在Git端失去一些提交.

To recover from this error follow instructions at http://subgit.com/book/#recovery - the most easy way would be to run "subgit install --rebuild repos" - but this way you may loose some of the commits on the Git side.

这篇关于SVN用户提交时出现SubGit错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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