SVN提交时报错:Commit blocked by pre-commit hook (exit code 1) with no output.

Posted Jim

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了SVN提交时报错:Commit blocked by pre-commit hook (exit code 1) with no output.相关的知识,希望对你有一定的参考价值。

可能的原因:

提交代码的SVN命令中,Comment长度短了。参考:http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-howto-minlogmsgsize.html

解决方法:

在提交的命令行的Comment中多加些字符,再提交。比如,将:

svn commit -m "XXX"

改成

svn commit -m "Add some code for Case 1"

然后再提交。就成功了。

 

参考:

http://blog.csdn.net/yasi_xi/article/details/39450689(以上内容转自此篇文章)

以上是关于SVN提交时报错:Commit blocked by pre-commit hook (exit code 1) with no output.的主要内容,如果未能解决你的问题,请参考以下文章

SVN提交数据(Commit)失败怎么解决

svn检出时报错 急!!!

windows svn post-commit 报错解决 error resolving case

SVN_ E155010: Commit failed (details follow): svn: E155010:报错解决

svn在commit后报错:is scheduled for addition, but is missing

phpstorm svn怎样提交