Quantcast
Channel: Questions and answers to issues related to Software: Business, Database, Firewalls, Office, Graphics, Security, System, Server.
Viewing all articles
Browse latest Browse all 25

Cannot auto commit after update

$
0
0
Hello,

I am trying to figure out how to auto update a remote website (hosted on a Windows 2008 server) whenever changes are committed to the remote repository (located on same).

I am using this batch file in a post-commit hook...

cd\inetpub\vhosts\web.com\httpdocs
"C:\Program Files (x86)\VisualSVN Server\bin\svn.exe" update --username usera --password passa --config-dir "C:\Program Files (x86)\VisualSVN Server\conf"

If I run this locally at the command prompt, on the remote server, logged in as Administrator, it works. If I run it remotely, by doing an svn update from TortoiseSVN, the batch file fires, but no update occurs and no error messages are shown.

I have found a few websites explaining how to do this in an apache/linux/unix environment (see links below), but how can I do this in an IIS/windows environment using VisualSVN?

http://www.sematopia.com/2007/10/apache-svn-auto-update-server-copy-on-commit/
http://stackoverflow.com/questions/696662/svn-update-not-working-in-post-commit

Has anyone got this to work in a Windows environment?

Thanks.

Viewing all articles
Browse latest Browse all 25

Trending Articles