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

Re: Update working copy from hook script

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Thu, 5 Nov 2009 10:07:19 -0700

> I'm trying to update a working copy by having svn update executed
> during a post-commit script after the repo has been committed to by
> another wc. I have a script that executes svn update, but it only
> works when I run it directly in the command line. It gets an error
> and stops when the hook script is called automatically by svn. I'm
> executing "SVNPATH/svn update fullPathToWC" but I'm not sure why it
> only works from command line.

It's probably filesystem permissions. The hook runs as the user the
server is running as and that user must have read/write access to the
wc path being updated and EVERYTHING within it. Check your permissions.

--
Jeremy Whitlock
http://www.thoughtspark.org
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2414794
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-11-05 18:08:47 CET

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.