This is an archive of the discontinued Mercurial Phabricator instance.

color: support the NO_COLOR environment variable
Changes PlannedPublic

Authored by Alphare on Apr 26 2022, 6:29 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

The https://no-color.org initiative is a good idea, it's easy to support. It
even explicitly lists Mercurial as one of the programs that don't support it.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Apr 26 2022, 6:29 AM
Alphare planned changes to this revision.Apr 26 2022, 6:30 AM

Wait, this is not the right precedence, it should honor config.

av6 added a subscriber: av6.May 2 2022, 6:16 AM

I like seeing support of community standards that underline how one size^W default configuration doesn't fit all, so I think this is a great feature. Hopefully it won't be too hard to implement.

explicitly lists Mercurial as one of the programs that don't support it

Ouch.