1. TakUnity
  2. chg

Commits

TakUnity  committed c6fbb2e

Clean up when master receives SIGINT.

  • Participants
  • Parent commits 0767d20
  • Branches default

Comments (0)

Files changed (1)

File hgext/chgsupport.py

View file
  • Ignore whitespace
                     self._initworkerui()
                     while True:
                         self._serveworker()
-            except error.SignalInterrupt:
+            except (error.SignalInterrupt, KeyboardInterrupt):
                 if master:
                     for pid in self._workerpids:
                         self._ui.debug('terminate worker process (pid=%d)\n'