在hooks 目录下新建一个post-commit.bat文件,内容如下:
SET REPOS=%1
SET USER=%2
SET SVN="F:\VisualSVN Server\bin\svn.exe"
SET DIR="D:\wamp\www\test"
(call %SVN% update %DIR% --username leeyong --password 123456 --non-interactive)
在hooks 目录下新建一个post-commit.bat文件,内容如下:
SET REPOS=%1
SET USER=%2
SET SVN="F:\VisualSVN Server\bin\svn.exe"
SET DIR="D:\wamp\www\test"
(call %SVN% update %DIR% --username leeyong --password 123456 --non-interactive)