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

Steve Borho steve at borho.org
Mon May 10 08:52:07 CDT 2010


On Mon, May 10, 2010 at 8:48 AM, Dirkjan Ochtman <dirkjan at ochtman.nl> wrote:
> 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).

To me, this one is clear cut.  HGPLAIN == just the stock output.  Let
me know if you come up with a better concept :)

--
Steve Borho


More information about the Mercurial-devel mailing list