svn错误:post-commit hook failed with output

浏览:11083 发布日期:2016/03/13 分类:系统代码 关键字: svn IT派
svn错误:post-commit hook failed with output
原文出自IT派:http://www.itipai.com/weiba/post_33229
svn客户端post-commit时,出现如下错误post-commit hook failed (exit code 1) with output.
[Error output could not be translated from the native locale to UTF-8.]


解决方法:

其实上述错误是一个错误,执行post-commit脚本时文字编码造成的

在版本库hooks/post-commit文件中

原来是#export LANG=export.GBK修改为#export LANG=export.UTF-8即可(svn服务器默认是utf8)
评论( 相关
后面还有条评论,点击查看>>