[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: Wouter van der Horst <w.vanderhorst_at_gmail.com>
Date: Tue, 6 May 2008 18:22:44 +0200

Have you tried to output a message to stderr and then exit the script
with a non-zero exit code?

for example:

# echo "I'm doing it wrong" >&2
# exit 1

What happens if you do that?

(I haven't read all your previous posts so I apologize if you've
covered that already.)

Wouter

On Tue, May 6, 2008 at 6:02 PM, Anthony Lieuallen <arantius_at_gmail.com> wrote:
> On 5/6/2008 12:00 PM, Wouter van der Horst wrote:
>
> > Just to rule out the obvious: Are you sure the post-commit hook you
> > are looking at is the post-commit hook that's being run? In other
> > words, are you looking in the right repository?
> >
>
> Yes, I specifically created a repository only for testing this issue. It
> also happens no matter what the repository is.
>
> I.E. These steps have happened: Repository has no hook files. Commit, no
> error. Create a simple one (even just ln -s /bin/true post-commit), commit,
> I'm given an error with no output.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-06 18:23:06 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.