# HG changeset patch # User Pierre-Yves David # Date 2017-04-16 00:48:06 # Node ID d323d9e0d7b41c157edaefa3b49d5f8f4afc9590 # Parent ad41739c6b2b5a9217467abb65d6429ba4fae9ba pager: stop using the color extension in tests The feature is in core so let us use the core config knob directly. diff --git a/tests/test-pager-legacy.t b/tests/test-pager-legacy.t --- a/tests/test-pager-legacy.t +++ b/tests/test-pager-legacy.t @@ -158,8 +158,8 @@ Pager should not start if stdout is not Pager with color enabled allows colors to come through by default, even though stdout is no longer a tty. $ cat >> $HGRCPATH < [extensions] - > color= + > [ui] + > color = yes > [color] > mode = ansi > EOF diff --git a/tests/test-pager.t b/tests/test-pager.t --- a/tests/test-pager.t +++ b/tests/test-pager.t @@ -96,8 +96,8 @@ be silently lost.) Pager with color enabled allows colors to come through by default, even though stdout is no longer a tty. $ cat >> $HGRCPATH < [extensions] - > color= + > [ui] + > color = yes > [color] > mode = ansi > EOF