[PATCH] extensions: suppress load errors when ui is plain

Dirkjan Ochtman dirkjan at ochtman.nl
Mon May 10 08:48:13 CDT 2010


On Mon, May 10, 2010 at 15:44,  <steve at borho.org> wrote:
> # HG changeset patch
> # User Steve Borho <steve at borho.org>
> # Date 1273499056 18000
> # Node ID 3144c73c953abce9afb1dac24728bba498b69ab7
> # Parent  94afe7bc87a9cedd770c16fbf904c7d1bdb880c4
> extensions: suppress load errors when ui is plain
>
> Scripts and GUIs will set HGPLAIN to get a consistent output.  They
> would also appreciate not getting extension warnings on stderr.

I understand the need and why it makes sense to do it this way, but it
seems like overloading the PLAIN concept. I wonder if there isn't a
better way (but haven't thought of one yet).

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list