In our scripts we have an explicit 'exit 0' at the end. Subversion
checks
The return value of that script, it fails on return value > 0.
Lieven.
-----Original Message-----
From: Michael Gozzo [mailto:mgozzo@matrox.com]
Sent: woensdag 10 augustus 2005 16:02
To: Ryan Schmidt
Cc: users@subversion.tigris.org
Subject: Re: Post-commit hook invocation fails.
Ryan Schmidt wrote:
> Have you tried redirecting stderr from your script to a log file?
>
Yes, no stderr was sent to the log file.
> Can you show us your exact script?
>
Sure, it's a simple test case:
#!/bin/sh
#hooks/post-commit
REPOS="$1"
REV="$2"
/bin/echo $REV > /tmp/post-commit-verify
Note that permissions on post-commit are 777, as well as on /tmp.
There's got to be some detail that I'm overlooking because this simple
script *should* run from subversion. I suspect I'm commiting a typical
newbie mistake, and would greatly appreciate any help I can get in
finding it. Also, the svnserve user can execute this in an empty
environment just fine.
> Also, it would be better if you sent plain-text messages, or offered
> a plain-text alternative to your HTML, or at least didn't send HTML
> which specified a font size smaller than the default -- makes it hard
> to read. :-)
>
Sorry about the mess everyone.
Regards,
Michael Gozzo
MIL Linux Development Intern
Matrox Imaging
1055 Blvd St. Regis
Dorval, QC
H9P 2T4
514-822-6000 x7206
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
STRICTLY PERSONAL AND CONFIDENTIAL
This message may contain confidential and proprietary material for the sole use of the intended recipient. Any review or distribution by others is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies.
Dit bericht is enkel bestemd voor de aangeduide ontvangers en kan vertrouwelijke informatie bevatten. Als u niet de ontvanger bent, dan mag u de inhoud van dit bericht niet bekendmaken noch kopiëren. Als u dit bericht per vergissing ontvangen heeft, gelieve er de afzender of De Post onmiddellijk van op de hoogte te brengen en het bericht vervolgens te verwijderen.
Ce message est uniquement destiné aux destinataires indiqués et peut contenir des informations confidentielles. Si vous n'êtes pas le destinataire, vous ne devez pas révéler le contenu de ce message ou en prendre copie. Si vous avez reçu ce message par erreur, veuillez en informer l'expéditeur, ou La Poste immédiatement, avant de le supprimer.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 16:32:58 2005