diff mercurial/commands.py @ 4672:272c0a09b203

Handle CTRL+C in serve under Windows.
author Marcos Chaves <marcos.nospam@gmail.com>
date Thu, 21 Jun 2007 21:58:18 +0200
parents 7a7d4937272b
children d8442fc0da8d
line wrap: on
line diff
--- a/mercurial/commands.py	Thu Jun 21 09:25:49 2007 +0200
+++ b/mercurial/commands.py	Thu Jun 21 21:58:18 2007 +0200
@@ -2401,6 +2401,7 @@
 
     class service:
         def init(self):
+            util.set_signal_handler()
             try:
                 self.httpd = hgweb.server.create_server(parentui, repo)
             except socket.error, inst: