Show More
@@ -7,7 +7,7 b'' | |||||
7 | # GNU General Public License version 2 or any later version. |
|
7 | # GNU General Public License version 2 or any later version. | |
8 |
|
8 | |||
9 | from mercurial.i18n import _ |
|
9 | from mercurial.i18n import _ | |
10 | from mercurial import osutil, util |
|
10 | from mercurial import osutil, util, error | |
11 | import server |
|
11 | import server | |
12 | import errno, os, select, stat, sys, time |
|
12 | import errno, os, select, stat, sys, time | |
13 |
|
13 | |||
@@ -431,7 +431,10 b' class master(object):' | |||||
431 |
|
431 | |||
432 | def shutdown(self): |
|
432 | def shutdown(self): | |
433 | for obj in pollable.instances.itervalues(): |
|
433 | for obj in pollable.instances.itervalues(): | |
|
434 | try: | |||
434 | obj.shutdown() |
|
435 | obj.shutdown() | |
|
436 | except error.SignalInterrupt: | |||
|
437 | pass | |||
435 |
|
438 | |||
436 | def run(self): |
|
439 | def run(self): | |
437 | self.repowatcher.setup() |
|
440 | self.repowatcher.setup() |
General Comments 0
You need to be logged in to leave comments.
Login now