2013-03-01 340 views
-2

我修改了一些文件,并修改了文件后,我试图提交该文件在存储库中,但我得到错误,同时在这里提交文件是堆栈跟踪的错误。SVN提交失败,错误消息

Error: Commit failed (details follow):

Error: MERGE request failed on '/qr/QR_MAVEN/quickres/branches/EMD_IGT'

Error: Commit blocked by pre-commit hook (exit code 1) with output:

Error: Your log message does not contain a CRUCIBLE review identifier (or bad format used)

Error: The CRUCIBLE review identifier should be in the line of the log message.

Error: Proper commit message should contain:"+ review "

Error: for quickres commit message should

Error: contain "+review qd"

Error: to add an existed review please specify the review number "+review qd-"

环境

OS : Windows

Repos: SVN

Client:TortoiseSVN.

每一件事情是工作,直到昨天。可能是什么原因?

回答

3

存储库的pre-commit钩子被解雇。基本上,它是一种方式,让库维护,以确保你的签入一组特定的条件得到满足,在提交前实际发生:

Commit blocked by pre-commit hook (exit code 1) with output:

实际上,它会告诉你,你(应该)需要知道的一切知情权的消息 - 这是不是一个“堆栈跟踪”的方式,而只是某种形式的多行消息(我重新格式化它更容易阅读):

Your log message does not contain a CRUCIBLE review identifier (or bad format used)

The CRUCIBLE review identifier should be in the line of the log message. Proper commit message should contain:"+ review " for quickres commit message should contain "+review qd" to add an existed review please specify the review number "+review qd-".

所以你的情况,它要你在日志消息中指定Crucible代码评论标识符。它甚至会给你一个提示,在最后一句话中做什么。

+0

感谢您的回复,您可以添加示例消息 – 2013-03-01 11:38:44

+0

@Real您需要使用存储库的管理员进行检查。我们不知道您的存储库的设置,也不知道您的预提交钩子的确切要求。 – 2013-03-01 11:40:30

+0

感谢您的帮助,我刚才告诉了我们的管理员。如果你是真的,那么这是非常令人失望的,没有通知团队如何做出决定。 – 2013-03-01 11:53:47