I have VisualSVN 2.1.9 running on a Windows Server 2008. I have dumped and 
loaded a repository from a soon to be retiring Windows Server 2003 machine 
running VisualSVN 2.1.4.

I copied a working hook (post-commit.bat) from the old machine to the new and 
as far as I can tell, the permissions everywhere are set as they should be. 
Clearly, however, something is not right because the hook does not run. I get 
no error message in the VisualSVN Server area of the Event Viewer, so I'm not 
even sure the hook is firing. The repository is being updated (from Dreamweaver 
client). 

The hook file, which is meant to update a checked out version of a web site 
located where the web server expects it, has the following three lines (not 
counting comments, also, the last two lines below are one line in the hook):

REPOS="$1"
REV="$2"
"C:\Program Files (x86)\VisualSVN Server\bin\svn" update "$REPOS"
       D:/websites/wwwsite1

Running the command from the command prompt works so it still could be a 
permissions thing. However, the VisualSVN user has full permissions to all the 
repository directories as well as the directory that the hook is meant to 
update (D:/websites/wwwsite1).

Any ideas?

--
Henry Hartley

Reply via email to