[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: Hari Kodungallur <hkodungallur_at_gmail.com>
Date: Fri, 2 May 2008 13:40:11 -0700

On Fri, May 2, 2008 at 6:34 AM, Anthony Lieuallen <arantius_at_gmail.com>
wrote:

> On 5/1/2008 10:16 PM, Srilakshmanan, Lakshman wrote:
>
> > Couple of tests you can perform to narrow the problem.
> > ...
> > I suspect your script is failing with a syntax error, which returns a
> > non-zero to subversion server.
> >
>
> You did see where, in my original mail, I set the entire content of the
> script to:
>
> #!/bin/bash
> /bin/true
>
> ? I can't make it any simpler than that. I even did "ln -s /bin/true
> post-commit" and I get exactly the same result.
>
>
When you execute the post-commit from command line, does it throw a non-zero
exit status? [In reality, the post-commit is run without an env, which is
different from running on the command line, but it would be nice to know if
it runs from the command line]

rgds
-Hari
Received on 2008-05-02 22:40:41 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.