worker: properly report errors from worker processes (
issue3982)
--- 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)