On 12/3/06, Thanos <thanos.a@fastwebnet.it> wrote:
> Hello,
>
> I have succesfully setup a SVN 1.4.0 server accessible by users through
> https. It serves one repository for multiple projects with their own
> structure (repository/projectname/trunk,branches,tags).
>
> Now, I would like to be able to update a live website with current
> committed revision. So, I have setup an apache2 server on the same
> machine and pointed DocumentRoot to /var/www/svn
>
> I have placed a very simple post-commit script I have found on another
> thread on this mailing-list with the following content in
> repositorypath/hooks:
>
> #!/bin/sh
> cd /var/www/svn || exit 1
> svn update --quiet
> exit 0
>
> The script has correct owner/permissions (755, apache:apache), however
> it doesn't work. After each commit /var/www/svn is still empty.
Is /var/www/svn a working copy to begin with?
Is the svn binary in the Apache user's PATH?
---------------------------------------------------------------------
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:41:46 2006