今天有一位同事提交SVN时, 出现了以下错误:
post-commit hook faild(exit code 1) with output:
/home/svn/xxx.com/hook/post-commit:line 50: mailer.py:command not foundsvn:Authentication error from server: Username not found
以前好好的...
折腾了好一会, 竟然不行. 回头仔细看下错误 Username not found, 看下hook/post-commit 使用的帐号:
svn update /var/www/xxx.com --username xixihaha --password hahaxixi --non-interactive
然后在看下passwd 配置的帐号和密码, 居然没有xixihaha 这个帐号, 谁删的, 我要宰了他...
把帐号加上 或者post-commit svn update 使用其他的帐号就可以了