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

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

From: Stuart Robertson <dogmatix_at_absolutesys.com>
Date: 2004-01-09 14:54:51 CET

Hi,

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.

Now, after upgrading to 0.35.1, "svnlook author", "svnlook log", "svnlook changed" and "svnlook diff" ALL return *nothing* whatsoever when directly invoked by svn as part of the commit. However, if I log onto to my svn server (running Redhat 9.0) and invoke post-commit using the same repos filename and revision number as the one just committed, then svnlook returns all the right information.

When I manually run the scripts, I am logged on using the same userid as what I have configured Apache to run as.

As I mentioned previously, I assumed this was some kind of delayed-writing issue caused by more aggressive caching by SVN or something, but no matter how long I make my scripts sleep before running svnlook, svnlook still returns nothing when invoked by Apache.

Any ideas or pointers?

Regards,

Stuart.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 9 14:55:38 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.