[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 not firing over svn+ssh (Subclipse)

From: Ryan Schmidt <subversion-2006Q1_at_ryandesign.com>
Date: 2006-05-02 00:05:40 CEST

On May 1, 2006, at 23:46, Bradley Wagner wrote:

> I'm having trouble getting my post-commit script to fire. I have
> set it to be executable by everyone. It works when I manually
> invoke it on a particular revision:
>
> env - ./post-commit /usr/local/svn/repos/ 3902
>
> However, when a commit occurs, nothing happens. The script is
> definitely in the hooks directory of the working repository and is
> accessible by everyone. I have yet to try it from the command line
> over svn+ssh (i've been committing in subclipse), but I take it
> that will not work either. Any ideas?

The standard advice is to make sure that all paths in the script are
absolute, and to insert "echo" statements at strategic points in the
script which send output to a logfile which you can check to see if
the script is reaching a particular line.

If you can send us your hook script, maybe we can see the problem...

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 2 00:07:12 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.