[PATCH] dispatch: factor out command failure handling into a function

Martijn Pieters mj at zopatista.com
Wed Mar 23 19:43:31 EDT 2016


On 23 March 2016 at 16:40, Martijn Pieters <mj at zopatista.com> wrote:
> # HG changeset patch
> # User Martijn Pieters <mjpieters at fb.com>
> # Date 1458775506 25200
> #      Wed Mar 23 16:25:06 2016 -0700
> # Node ID d45ba07deb133f30c7188d7e6f671535558c8f83
> # Parent  35c2f607a1ebc57bac43e0c658168d2a7b631f87
> dispatch: factor out command failure handling into a function
>
> Moving the warning generation and re-raise to a function allows for wrapping
> and alternative error handling.

This supersedes the error suppression patch:
https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-March/081886.html


-- 
Martijn Pieters


More information about the Mercurial-devel mailing list