Mercurial > hg
changeset 19408:c7ec39c1a381
worker: properly report errors from worker processes (issue3982)
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 16 Jul 2013 15:18:12 -0500 |
parents | ce3d1cf957f8 |
children | ea4342d0e6fe |
files | mercurial/worker.py |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/worker.py Tue Jul 16 12:44:11 2013 -0500 +++ b/mercurial/worker.py Tue Jul 16 15:18:12 2013 -0500 @@ -89,11 +89,8 @@ os._exit(0) except KeyboardInterrupt: os._exit(255) - except: # re-raises (close enough for debugging anyway) - try: - ui.traceback() - finally: - os._exit(255) + # other exceptions are allowed to propagate, we rely + # on lock.py's pid checks to avoid release callbacks pids.append(pid) pids.reverse() os.close(wfd)