windows svn auto update

Find the directory where the repository is saved and create a new post-commit.bat file

In this bat file, write the following content

@echo off  

set REPOS="%1"  

set TXN="%2"  

"D:/svn/server/bin/svn.exe (svn installation directory)" update "D:/phpStudy/WWW/edu (this is the directory of your website project)" --quiet --username "username" --password "password"

 

I run into two problems:

1. svn server service permissions are not enough

2. The second question

  The post-commit.bat I just wrote is incompatible. Every time the customer service side submits, the svn server side will pop up a dialog box, enter p and press Enter, and it’s ok. Waiting for a call will not be reminded again.

And that's it.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325069552&siteId=291194637