diff -r e949a008999d -r 4d684d8210a1 mercurial/commands.py --- a/mercurial/commands.py Fri May 06 15:36:05 2011 +0200 +++ b/mercurial/commands.py Fri May 06 15:41:04 2011 +0200 @@ -3756,7 +3756,7 @@ class service(object): def init(self): - util.set_signal_handler() + util.setsignalhandler() self.httpd = hgweb.server.create_server(ui, app) if opts['port'] and not ui.verbose: