subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r1299317 - /subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
Date Sun, 11 Mar 2012 00:51:08 GMT
Author: joes
Date: Sun Mar 11 00:51:08 2012
New Revision: 1299317

URL: http://svn.apache.org/viewvc?rev=1299317&view=rev
Log:
* trunk/tools/server-side/svnpubsub/svnwcsub.py
 need to reinstall default SIGCHLD handler for python before launching subprocesses (changed
by daemonize.py)

Modified:
    subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py

Modified: subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py?rev=1299317&r1=1299316&r2=1299317&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnwcsub.py Sun Mar 11 00:51:08 2012
@@ -29,6 +29,7 @@
 # See svnwcsub.conf for more information on its contents.
 #
 
+import signal
 import subprocess
 import threading
 import sys
@@ -139,6 +140,7 @@ class BigDoEverythingClasss(object):
             self.hostports.append((parsed.hostname, parsed.port))
 
     def start(self):
+        signal.signal(signal.SIGCHLD, signal.SIG_DFL)
         for path, url in self.tracking.items():
             # working copies auto-register with the BDEC when they are ready.
             WorkingCopy(self, path, url)



Mime
View raw message