解决svn错误:post-commit hook failed (exit code 1) with output
2012-11-06 10:52
901 查看
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=zh_CN.GBK
修改为export LANG=en_US.UTF-8即可(svn服务器默认是utf8)
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=zh_CN.GBK
修改为export LANG=en_US.UTF-8即可(svn服务器默认是utf8)
相关文章推荐
- 解决svn错误:post-commit hook failed (exit code 1) with output.
- 解决svn错误:post-commit hook failed (exit code 1) with output.
- SVN报错Warning: post-commit hook failed (exit code 1) with output:
- svn post-commit hook faild(exit code 1) with output /Username not found 错误
- linux/unix下svn自动更新post-commit hook failed (exit code 255)
- svn Error: post-commit hook failed (exit code 127) with output
- linux系统post-commit hook failed (exit code 255) with no output的终极解决方案
- Warning: post-commit hook failed (exit code 255) with no output
- SVN提交报错"svn: Commit blocked by pre-commit hook (exit code 1) with output: Can't get Mantis_Key"的解决办法
- svn: Commit blocked by pre-commit hook (exit code 1) with output: Log format error 提交Log格式错误
- svn: Commit blocked by pre-commit hook (exit code 1) with output: Log format error 提交Log格式错误
- svn: Commit blocked by pre-commit hook (exit code 255) with output:报错分析及解决方法
- Command /Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/g++-4.2 failed with exit code 1 的错误解决
- xcode 真机编译codesign failed with exit code 1错误 解决
- 解决error: linker command failed with exit code 1类似的错误
- Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)
- svn的安装(整合apache、ldap)包括错误解决post commit FS processing had error
- Xcode编译常见错误解决:linker command failed with exit code 1 (use -v to see invocation)
- 【linker command failed with exit code 1 (use -v to see invocation)】错误的解决办法
- 出现 duplicate symbols for architecture arm**,linker command failed with exit code 1错误解决办法