VisualSVN 钩子脚本

来源:互联网 发布:json.net dynamic 编辑:程序博客网 时间:2024/06/07 19:05
1、Windows服务器的SVN Server推荐VisualSVN Server;
2、安装、配置新代码仓库比较容易,略过;
3、服务器端除了装VisualSVN Server服务器端外,另外再装TortoiseSVN;
4、服务器端和客户端都checkout 下目录;
5、注意:自动发布的钩子脚本,不支持https

花了一下午,VisualSVN <wbr>钩子脚本总算撸好了!
6、关键:SVN SERVER控制器post-commit钩子脚本:
"C:\Program Files\VisualSVN Server\bin\svn.exe" update "D:\wwwroot\2015" --non-interactive --trust-server-cert --no-auth-cache --username username --password password
(网上教程由于后台过滤敏感字,常常把英文"过滤为中文“,把--过滤为-)

花了一下午,VisualSVN <wbr>钩子脚本总算撸好了!

花了一下午,VisualSVN <wbr>钩子脚本总算撸好了!