[PATCH 2 of 6] blackbox: log the commands that are run

Bryan O'Sullivan bos at serpentine.com
Mon Feb 11 15:42:51 CST 2013


On Sun, Feb 10, 2013 at 6:26 AM, Martin Geisler <martin at geisler.net> wrote:

> The standard logging library works by taking the format string and the
> arguments separately: that way you can check if the message will be
> logged first and then only spend time formatting it if so. It would be
> cool if we could change the signature of ui.log to that standard too.
>

I think that's a good idea. I already want to do that with our existing
ui.note and such methods.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20130211/240415be/attachment.html>


More information about the Mercurial-devel mailing list