diff --git a/mercurial/worker.py b/mercurial/worker.py --- a/mercurial/worker.py +++ b/mercurial/worker.py @@ -282,7 +282,7 @@ if t.exception is not None: raise t.exception threads.remove(t) - except Exception: # re-raises + except (Exception, KeyboardInterrupt): # re-raises trykillworkers() raise while not resultqueue.empty():