On Feb 19, 2008, at 04:07, Mike Bordignon wrote:
> I'm trying to get a post-commit hook working on a repository. The
> batch file runs file from the command prompt, but when it's
> executed as part of a commit it fails to 'svn update d:\folder'. It
> returns nothing when executed - not a 'd:\folder/ is not a working
> copy' - merely 'Skipped: d:\folder/'. I've checked and double
> checked permissions, thinking the process didn't have permissions
> to write to the folder, yet they are correct (svnserve.exe is
> running under the 'Local System' account. I've even resorted to
> adding the Everyone group to the permissions for the folder still
> with no success.
>
> The directory I'm trying to update (d:\folder) is on the same
> machine as svnserve. The post-commit script is running as I can
> echo the output of 'svn update' to a file, and see that it returns
> nothing. 'svn list' also returns nada.
>
> I've found this thread (http://svn.haxx.se/users/
> archive-2006-06/0404.shtml) and this one (http://groups.google.com/
> group/Subversion-SVN/browse_thread/thread/0fd3cc256c61b70d), this
> one (http://subversion.tigris.org/servlets/ReadMsg?
> listName=users&msgNo=45020) and this one (http://
> subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=48276)
> which appear to detail the same or similar problems but with no
> solutions.
>
> This thread here (http://subversion.tigris.org/servlets/ReadMsg?
> list=users&msgNo=44901) appears to have exactly the same problem. A
> bug, perhaps?
"svn update" uses cached credentials. Perhaps the credentials cached
in your .subversion directory are different from the credentials
cached in the .subversion directory of the user under which the hook
runs when it's run by the repository? Perhaps one of those users
doesn't have permission to access that part of the repository?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-20 01:26:40 CET