[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: Wed, 7 May 2008 08:22:54 -0700

On Wed, May 7, 2008 at 12:05 AM, Lorenz <lorenznl_at_yahoo.com> wrote:

> Anthony Lieuallen wrote:
> >[...]
> >Committed revision 1.
> >
> >Warning: 'post-commit' hook failed with error output:
>
> that is weird!?
> The exit code of a post-anything hook is ignored (as far as I know -
> and I've just put an "exit 1" at the end of the post-commit hook of my
> test repository)

Not completely. Post-anything exit codes only generate warning. The commit
goes through fine. From what Anthony has shown, the warning is expected when
the hook exited with exit 1 or if it could not execute post-commit.

But since his post-commit is supposed to have only /bin/true in it, I have
absolutely no idea what is going on.

>
>
> You are sure that execution right are set properly? Because can't
> imagine anything besides the hook not being executable at all that
> could cause such effect (but that may originate in lack of imagination
> 8-).
>

rgds
-Hari
Received on 2008-05-07 17:23:18 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.