You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Harrison <dg...@gmail.com> on 2004/10/05 01:32:14 UTC

SVN hook problem

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.

-- 
Daniel Harrison
Hobart, Australia

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN hook problem

Posted by Scott Palmer <sc...@2connected.org>.
On Oct 4, 2004, at 10:02 PM, David Wheeler wrote:

> I had exactly the same problem next week.

Cool... Can I borrow your time machine?  I want to not miss any 
deadlines last week.

;-)


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: SVN hook problem

Posted by David Wheeler <da...@kineticode.com>.
On Oct 4, 2004, at 6:32 PM, Daniel Harrison wrote:

> 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 had exactly the same problem next week. Try putting the full path to 
the svn executable into post-commit and see if that works. It fixed it 
for me!

Regards,

David


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org