SVN post-commit hook无法翻译probs

时间:2014-12-20 16:59:22

标签: linux apache svn

$ svn commit -m "test commit"
Sending        static/README
Transmitting file data .
Committed revision 18.

Warning: post-commit hook failed (exit code 1) with output:
[Error output could not be translated from the native locale to UTF-8.]

这是我每次提交某些内容时得到的消息......因此,SVN是最新的,但网络出版物不是。

服务器svn正在运行apache2 mod“dav_svn”

我已经在/ etc / apache2 / envvars中将LANGLANGUAGELC_ALL设置为en_US.UTF-8,但这没有做任何事情。

编辑:我必须确切地说,当我手动完成提交后文件的内容时,evrything没问题,没有错误......

提交后文件的内容:

#!/bin/sh
/usr/bin/svn revert /var/www/vhost/somesite.com/next/ --username *** --password ***
/usr/bin/svn update /var/www/vhost/somesite.com/next/ --username *** --password ***
/usr/bin/svn update /var/www/vhost/somesite.com/www/ --username *** --password *** --force --accept theirs-full

ssh prod2 "/usr/bin/svn revert /var/www/vhost/somesite.com/next/ --username *** --password ***"
ssh prod2 "/usr/bin/svn update /var/www/vhost/somesite.com/next/ --username *** --password ***"
ssh prod2 "/usr/bin/svn update /var/www/vhost/somesite.com/www/ --username *** --password *** --force --accept theirs-full"

我现在已经疯了三天了,如果有人知道错误信息究竟是什么意思(我的意思是错误来自哪里),或者如何重新制作这个! :)

(抱歉,这是你以前读过的最糟糕的一个)

0 个答案:

没有答案