diff mercurial/commands.py @ 4673:d8442fc0da8d

Merge with crew
author Patrick Mezard <pmezard@gmail.com>
date Thu, 21 Jun 2007 22:19:41 +0200
parents 150afe6becf6 272c0a09b203
children 0f6e2b37512d
line wrap: on
line diff
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -2432,6 +2432,7 @@ def serve(ui, repo, **opts):
 
     class service:
         def init(self):
+            util.set_signal_handler()
             try:
                 self.httpd = hgweb.server.create_server(parentui, repo)
             except socket.error, inst: