RE: hook permissions, visualsvn, windows
From: Henry Hartley <henryhartley_at_westat.com>
Date: Thu, 9 Jun 2011 15:05:25 +0000
I wondered about that but it worked on my old server and yes, it did run from the command line. It complained about the lines starting with # but ignored them. Looking more closely, it appears to have complained abou the REPOS=$1 line as well but ignored that, too. Finally, it seems to have ignored the "$REPOS" in the update command and updated the listed working copy.
I have now shortened the file to a single line:
"C:\Program Files (x86)\VisualSVN Server\bin\svn" up D:/websites/wwwsite1
That runs from the command line this time without any comments or warnings. So, that's good. It still doesn't run when I commit a change to the repository, though.
I did, though, get an error in the event log this time. It seems to be complaining about a username/password being unknown or incorrect. The user name displayed is my own. It's a network account that happens to be an administrator on the local machine. It occurs to me, however, that I installed VisualSVN without right-clicking and selecting "Run as Administrator." Should I have? Would that produce the problem I'm seeing?
-- HenryReceived on 2011-06-09 17:06:00 CEST
This is an archived mail posted to the Subversion Users mailing list.