Home > php教程 > php手册 > svn错误:post-commit hook failed with output

svn错误:post-commit hook failed with output

WBOY
Release: 2016-06-07 11:35:21
Original
2260 people have browsed 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.<br> [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)

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template