首页 > 其他 > 详细

svn post-commit 同步

时间:2016-10-11 18:27:20      阅读:239      评论:0      收藏:0      [点我收藏+]
@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 同步

原文:http://www.cnblogs.com/lummon/p/5950043.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!