[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 completely fails

From: Puneet Lakhina <puneet.lakhina_at_gmail.com>
Date: Tue, 6 May 2008 12:18:36 +0530

On Tue, May 6, 2008 at 7:09 AM, Anthony Lieuallen <arantius_at_gmail.com>
wrote:

> On 5/1/2008 9:32 PM, Anthony Lieuallen wrote:
>
> > $ cat > post-commit
> > #!/bin/bash
> > /bin/true
> > $ chmod 777 post-commit
> >
>
> I hate to do this but .. bump?
>
> I can't make this script any simpler, but it still does not run. How do I
> get debugging information to figure this out? Nothing shows in any output
> or log I can find.
>

You could do a simple

$ cat "I am running" >> /somewriteableDirectory/postcommitop.txt

in your hook file and see if the file gets this line. This will atleast
assure that your hook file is running.

>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

-- 
Puneet
http://sahyog.blogspot.com/
Latest Post: javac -g
Received on 2008-05-06 08:48:55 CEST

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.