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

Re: svn 1.3.0: post-commit hook waits even if tasks are backgrounded

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2006-01-14 00:11:10 CET

Garrett Rooney and Peter Lundblad are busy discussing this problem
right now on irc.freenode.net, #svn-dev. Seems tricky.

On 1/13/06, Malcolm Rowe <malcolm-svn-dev@farside.org.uk> wrote:
> On Fri, Jan 13, 2006 at 10:43:28AM -0600, loren jan wilson wrote:
> > we upgraded from subversion 1.1.4 to 1.3.0 yesterday, and i noticed
> > that tasks from a post-commit hook can no longer run in the
> > background.
> >
>
> This may be an unexpected side-effect of the work done in 1.3.0 to return
> error output from post-commit hooks to the caller.
>
> You should be able to get the old behaviour if you can arrange for the
> called process to be completely divorced from the caller: I suspect some
> combination of redirecting stdin, out, err; nohup; and the bash 'disown'
> builtin would help here, though I'm not sure entirely how to achieve it.
>
> Regards,
> Malcolm
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 14 00:14:45 2006

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