我正在尝试通过svn post-commit钩子从Shell脚本使用ssh更新远程服务器的存储库。我所做的是
当我手动运行脚本时,一切正常。但是,当我提交时,出现以下错误:
Sending test.py
Transmitting file data .
Committed revision 47.
Warning: post-commit hook failed (exit code 6) with output:
我尝试使用Google搜索,但找不到与错误代码6相关的任何内容。感谢您的帮助。
实际的解决方案是,我删除了post-commit.tmpl文件,并且现在可以正常工作了。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句