[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 invocation fails.

From: Michael Gozzo <mgozzo_at_matrox.com>
Date: 2005-08-10 16:01:30 CEST

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
Received on Wed Aug 10 16:03:45 2005

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.