First, Environment
Description:
(1) server side except for the VISUALSVN server server side , in addition to reload TortoiseSVN
(2) server side and client are checkout under directory
(3) Note: Automatic release of hook scripts, HTTPS not supported
650) this.width=650; "Src=" https://s4.51cto.com/wyfs02/M02/94/E4/wKioL1kP0y_AYoiuAABdyriV5Fo983.png-wh_500x0-wm_ 3-wmp_4-s_2405601609.png "title=" 1.png "alt=" Wkiol1kp0y_ayoiuaabdyriv5fo983.png-wh_50 "/>
First, Configuration
Find code library edits that need to be synchronized Post-commit Hook Script:
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/94/E4/wKioL1kP00yAXlKfAAAy2WsSWUU924.png-wh_500x0-wm_ 3-wmp_4-s_1346900170.png "title=" 2.png "alt=" Wkiol1kp00yaxlkfaaay2wsswuu924.png-wh_50 "/>
edit inside such as: (replace the user name and password, D:\wwwroot for Web site root directory )
"C:\Program files\visualsvn server\bin\svn.exe" Update "D:\wwwroot"--non-interactive--trust-server-cert-- No-auth-cache--username username--password password6a
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/94/E5/wKiom1kP03nxzJLpAACk_Aj8CE4116.png-wh_500x0-wm_ 3-wmp_4-s_541739274.png "title=" 3.png "alt=" Wkiom1kp03nxzjlpaack_aj8ce4116.png-wh_50 "/>
This article is from the "MR-G Operations Knowledge Base" blog, please be sure to keep this source http://xpstack.blog.51cto.com/2973026/1923059
visualsvn hook script for automatic Web site updates