解决svn错误:post-commit hook failed (exit code 1) with output
生活随笔
收集整理的這篇文章主要介紹了
解决svn错误:post-commit hook failed (exit code 1) with output
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
svn客戶端post-commit時,出現(xiàn)如下錯誤
post-commit hook failed (exit code 1) with output.
[Error output could not be translated from the native locale to UTF-8.]
解決方法:
其實上述錯誤是一個錯誤,執(zhí)行post-commit腳本時文字編碼造成的
在版本庫hooks/post-commit文件中
原來是#export LANG=zh_CN.GBK
修改為export LANG=en_US.UTF-8即可(svn服務(wù)器默認(rèn)是utf8)
轉(zhuǎn)載于:https://www.cnblogs.com/helloyb/archive/2012/11/06/2756557.html
總結(jié)
以上是生活随笔為你收集整理的解决svn错误:post-commit hook failed (exit code 1) with output的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 有关“优秀工作流引擎”的评价
- 下一篇: SSIS实用教程(SQLServer20