2013-03-01 341 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