I want to checkout the most recent files of the repository to a folder on the local hard drive of the server whenever a commit happens.
My post-commit hook right now is:
svn checkout https://xyz.mysite.com:7405/svn/ProjectName/ C:\my-temp --non-interactive --no-auth-cache --username myusername --password mypassword
The .CMD file that VisualSVN Server created runs great inside Windows's Command Prompt and does what I need it to do. But when it comes to running it when a commit happens, an error gets returned to the SVN client and nothing appear in the destination folder.
The error message says Access to /svn/ProjectName forbidden
even though the credentials work perfectly in Commpand Prompt.
Please let me know what I need to do to the script for the hook to run. Thanks!