[PATCH 7 of 8 v4] extdiff: log time spent in external diff program

Bryan O'Sullivan bos at serpentine.com
Mon Feb 13 13:04:04 EST 2017


On Mon, Feb 13, 2017 at 9:29 AM, Simon Farnsworth <simonfar at fb.com> wrote:

> +        with ui.timeblockedsection('extdiff'):
> +            ui.system(cmdline, cwd=tmproot)
>

Why not simply instrument ui.system directly, and leave its callers
untouched?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170213/e3fa26b6/attachment.html>


More information about the Mercurial-devel mailing list