svn post-commit 同步
Posted 一闪一闪亮晶晶
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了svn post-commit 同步相关的知识,希望对你有一定的参考价值。
@echo on SET REPOS=%1 SET USER=%2 SET SVN="D:\Program Files\VisualSVN Server\bin\svn.exe" SET DIR="D:\wwwroot\static" (call %SVN% update %DIR% --username fabu1 --password fabu12016 --non-interactive --trust-server-cert)
遇见问题
post-commit hook failed (exit code 1) with output: svn: E170013: Unable to connect to a repository at URL ‘https://139.196.109.0/svn/qianduan/net‘ svn: E230001: Server SSL certificate verification failed: certificate issued for a different hostname, issuer is not trusted
问题在于服务器被从域中移了出来,visual svn server的certificate issuer还是和域的域名相关联,更改为本机IP就可以了。
以上是关于svn post-commit 同步的主要内容,如果未能解决你的问题,请参考以下文章
SVN同步错误 post-commit hook failed (exit code 255) with no output.