Error-suppression and redirection extensions, interest in another piece?

Jun Wu quark at fb.com
Tue Apr 5 15:24:02 EDT 2016


On 04/05/2016 07:52 PM, Martijn Pieters wrote:
> With logtoprocess and the refactoring in place, that extension could
> now be replaced with a configuration for logtoprocess (sending
> commandfailure output to the same external shell command, albeit with
> some slight tweaks) and a teeny-tiny extension that replaces most of
> dispatch.handlecommandexception() with a ui.log() call and
> sys.exit(1).

Does it make sense to add an extra flag to make logtoprocess possible to 
synchronously run the script and do an exit if the script returns non-zero?

I think we want the blocking behavior here.


More information about the Mercurial-devel mailing list