【发布时间】:2014-04-29 14:44:45
【问题描述】:
从 mercurial 提交代码时出现以下错误:
调用钩子 pretxncommit.crlf: hgext.win32text.forbidcrlf running 钩子 pretxncommit.msg_header_must_conform: (hg log --template "{desc|firstline}" -r %HG_NODE% | egrep -qi "^添加标签|^删除 标签|^自动合并|^合并|^[maven-scm]|^cmets|^test case|^(tracker|issue) id: [0-9]{5,8} -") 事务中止!回滚 完成中止:pretxncommit.msg_header_must_conform 钩子退出 状态 255
我什至检查了目录结构(当前为 777)的权限,但仍然失败。这里可能出了什么问题?
【问题讨论】: