[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

hook permissions, visualsvn, windows

From: Henry Hartley <henryhartley_at_westat.com>
Date: Wed, 8 Jun 2011 17:10:43 +0000

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):

"C:\Program Files (x86)\VisualSVN Server\bin\svn" update "$REPOS"

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
Received on 2011-06-08 19:11:15 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.