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

post-commit question

From: Jeff Lanzarotta <delux256-subversion_at_yahoo.com>
Date: 2007-09-19 15:01:34 CEST

Hello,

I have a post-commit script that looks like this:

--------------------8<---------------------

export PYTHONSTARTUP=/etc/pythonstart
export PYTHONPATH=$PYTHONPATH:/usr/local/lib/svn-python

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

/usr/local/bin/svn update /mnt/LatestAndGreatest/

/usr/bin/python $REPOS/hooks/mailer.py commit "$REPOS" "$REV" $REPOS/hooks/mailer.conf

--------------------8<---------------------

As you can see, it is a simple script. It is suppose to automatically update the LatestAndGreatest working copy of the repository and email information to the needed recipients.

The problem I am having is that the call to 'svn update' hangs. I can execute the post-commit script on it's own, and it will update the LastestAndGreatest working copy just fine. But, when the post-commit script is executed via SVN, it hangs. I have executed the script as myself, root, as well as the svn user and it works every time. Just not via SVN...

Any ideas?

Thanks.

-Jeff
Received on Wed Sep 19 15:01:58 2007

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.