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

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

From: loren jan wilson <loren_at_uchicago.edu>
Date: 2006-01-13 17:43:28 CET

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.

for example, a post-commit hook of

    #!/bin/sh
    sleep 10 &

waits 10 seconds when a commit happens, like so:

    $ time svn ci -m "dummy checkin to test speed of checkins"
    Sending custom/compile-1.0/bin/compile
    Transmitting file data .
    Committed revision 414.

    real 0m10.940s
    user 0m0.080s
    sys 0m0.072s

when the same hook is run from the command line, it returns instantly:

    $ time /opt/repos/hooks/post-commit

    real 0m0.009s
    user 0m0.002s
    sys 0m0.007s

this isn't the way it used to work. is there a workaround?

-- 
loren jan wilson, CCNA
network engineering, uchicago.edu
1155 rm. 321 ; 773/702-8189
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 13 23:15:19 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.