Mercurial > public > mercurial-scm > hg-stable
diff tests/test-addremove.t @ 40367:824b687ff6af
addremove: add "ui." prefix to message color keys
I don't like fully-colorized status/warning messages, and I want to disable
them at all. If we'd supported a syntax like 'color.ui.*=none', I could
easily turn addremove.added/removed off as well as ui.error. This patch is
just for that.
Since addremove colors aren't released yet, which were added at ddc1da134772,
there are no compatibility concerns.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Thu, 18 Oct 2018 21:00:07 +0900 |
parents | ad88726d6982 |
children |
line wrap: on
line diff
--- a/tests/test-addremove.t Thu Feb 09 09:17:40 2017 -0800 +++ b/tests/test-addremove.t Thu Oct 18 21:00:07 2018 +0900 @@ -70,10 +70,10 @@ adding d recording removal of a as rename to b (100% similar) $ hg addremove -ns 50 --color debug - [addremove.removed ui.status|removing a] - [addremove.added ui.status|adding b] - [addremove.removed ui.status|removing c] - [addremove.added ui.status|adding d] + [ui.addremove.removed ui.status|removing a] + [ui.addremove.added ui.status|adding b] + [ui.addremove.removed ui.status|removing c] + [ui.addremove.added ui.status|adding d] [ ui.status|recording removal of a as rename to b (100% similar)] $ hg addremove -s 50 removing a