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

Re: svn hung at end of commit operation

From: Peter Samuelson <peter_at_p12n.org>
Date: 2006-03-26 22:52:26 CEST

[Molle Bestefich]
> Try something like:
> (/usr/local/svn/hook-scripts/mailer.py commit "${REPOS}" "${REV}" &) &

I thought that was only useful if your shell uses job control.
Noninteractive shells shouldn't. I agree that redirecting stdout and
stderr should be sufficient. Come to think of it, perhaps just at the
top of the hook script:

  exec < /dev/null > /dev/null 2>&1

which then affects the whole shell and all subprocesses.

Received on Sun Mar 26 22:52:48 2006

This is an archived mail posted to the Subversion Dev mailing list.