[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Manually invoking post-commit works, but svn invoking it doesn't

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-01-09 17:26:39 CET

On Fri, 2004-01-09 at 07:54, Stuart Robertson wrote:

> After upgrading to svn 0.35.1 scripts that are called from post-commit
> no longer return *any* information when invoked directly by svn (that
> is, by Apache). Previously (using svn 0.32.1) the only command that
> failed to return any info when directly invoked by svn was "svnlook
> diff" which returned no information.
>

It sounds like you have some private scripting or server issues.
Perhaps you accidentally changed some other part of your setup in the
process up upgrading? We've not changed the hook code for a long, long
time. I just created a test repository, added a simple post-commit hook
script, and it worked perfectly fine when I did a commit:

#!/bin/sh

REPOS="$1"
REV="$2"

/usr/local/bin/svnlook log -r "$2" "$REPOS" > /tmp/blah

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 17:27:30 2004

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.