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

Re: Hook Scripts (Svn mirror)

From: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: 2007-11-28 19:16:42 CET

On Nov 27, 2007 11:10 PM, Himanshu Raina <raina_himanshu@yahoo.com> wrote:

> Hi,
> I have setup SVN mirror and it seems to be working absolutely fine. The
> problem is the hook-scripts which aren't invoked whenever a commit is done
> to source repository. The same works fine if i put the entries in the cron.
> Is there a way to overcome this problem or crontab is the only way out.

 Can you be a little more specific? Are the hook scripts not working only in
the mirror? Or is not working in the main server as well as in the mirror?
Somehow from your email subject and its body it seems like the problem is
related to svn mirroring, but it is not clear how. Please explain how you
created the mirror etc and where the problem is.

The hook scripts are not supposed to be run as cron. They are run in the
context of a transaction (pre or post).
Please read the following link to debug your hook scripts.


Received on Wed Nov 28 19:17:11 2007

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.