[PATCH 09 of 11] worker: allow a function to be run in multiple worker processes

Bryan O'Sullivan bos at serpentine.com
Sat Feb 9 15:57:49 CST 2013


On Sat, Feb 9, 2013 at 9:33 AM, Idan Kamara <idankk86 at gmail.com> wrote:

> An exception would be raised and caught at dispatch, converted to an error
> exit code and returned by dispatch.dispatch().
>

Only it doesn't have any cases for "I want to exit silently" except for
when code calls sys.exit ... which is what I already do.

Remember, in this case, the worker process that has crashed has already
printed its abort or crash message. There's no advantage to the master
printing more stuff.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130209/7036faba/attachment.html>


More information about the Mercurial-devel mailing list