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

Re: post-commit hook script to update a live website

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-12-03 14:51:18 CET

What if you use this:

svn up /var/www/svn -q

In your script, and remove the cd line.

On 12/3/06, Thanos <thanos.a@fastwebnet.it> wrote:
> Hello,
>
> > Is /var/www/svn a working copy to begin with?
> > Is the svn binary in the Apache user's PATH?
>
> svn binary is is Apache user's PATH and /var/www/svn wasn't a working
> copy, now I have checked out the entire repository into this folder
> however when the post-commit script is executed after a commit
> operation, the working copy isn't updated, but when I run the
> post-commit manually (as apache user i.e.: su - apache -c
> "/path/post-commit") I get /var/www/svn updated with latest revision.
>
> Is there anything else I can check ?
>
> Thanks,
> A.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Dec 3 14:51:51 2006

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.