Hi,

I wonder if someone can help me getting a very simple post commit
script working. At the moment I've added a simple post commit hook to
run an svn update on a local folder, but the update just doesn't
happen.

I put the following in a batch file (c:\update-dev.bat):

    c:\visualsvn\bin\svn.exe update c:\inetpub\dev

(I've previously checked out to c:\inetpub\dev) and then call the
above batch file from post-commit.cmd and send the output to a text
file to see what was going on. The contents of post-commit.cmd is:

    c:\update-dev.bat > c:\update_log.txt

After a commint, update_log.txt contains no output at all from the
"svn update", no error or anything. I changed the command to "svn
help" to check that the account running the batch has access to the
exe, and it does, since update_log.txt then contains the help text
after a commit.

I've tried manually setting the --username and --password paramaters
but it doesn't help.

What am I doing wrong? Any help much appreciated.

Thanks,
Matt.

Reply via email to