# HG changeset patch # User Pierre-Yves David <pierre-yves.da...@ens-lyon.org> # Date 1492303686 -7200 # Sun Apr 16 02:48:06 2017 +0200 # Node ID 276dd8ba6084f1463faca2b57914b8fc3c96c776 # Parent 2bf73e351eb1bb086e30c9f58543817fb05e558c # EXP-Topic color # Available At https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ # hg pull https://www.mercurial-scm.org/repo/users/marmoute/mercurial/ -r 276dd8ba6084 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 <<EOF - > [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 <<EOF - > [extensions] - > color= + > [ui] + > color = yes > [color] > mode = ansi > EOF _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel