Are you sure "svn" is on the path in the environment that the
script executes in? Does giving it an absolute path
("/usr/bin/svn update /svn-working" or whatever) fix the problem?
Aaron
On Mon, 4 Oct 2004, Daniel Harrison wrote:
> Hi,
>
> I have an svn repository (/svn-repository) on my fedora box, the
> repository has a post-commit hook script that includes the line:
>
> svn update /svn-working
>
> where /svn-working is a directory on the server used to keep the
> working copy for use with a web server among other things.
>
> When i execute the script (./post-commit) it the update works a treat.
> However when i do a commit the update dosn't occur. I know the script
> is executed correctly as the standard email notification perl script
> works fine, i get an email instantly.
>
> I've chmod'd the /svn-working folder to 777 which didn't make any difference.
>
> Does anyone know why the update line in the scipt dosn't work when an
> update is done on the server?
>
> Thanks
>
> --
> Daniel Harrison
> Hobart, Australia
>
> ---------------------------------------------------------------------
> 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 Mon Oct 4 03:55:26 2004