test: enforce color to be enabled
4.2 enable color by default and start to get used in test. So we add this to the
test for previous version.
--- a/tests/test-evolve-obshistory.t Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-evolve-obshistory.t Thu May 18 22:53:01 2017 +0200
@@ -12,6 +12,7 @@
> publish=False
> [extensions]
> evolve =
+ > color =
> EOF
Test output on amended commit
--- a/tests/test-obsolete.t Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-obsolete.t Thu May 18 22:53:01 2017 +0200
@@ -8,6 +8,7 @@
> debugobsolete=debugobsolete -d '0 0'
> [extensions]
> hgext.rebase=
+ > color =
> EOF
$ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
$ mkcommit() {
--- a/tests/test-prev-next.t Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-prev-next.t Thu May 18 22:53:01 2017 +0200
@@ -1,6 +1,7 @@
$ cat >> $HGRCPATH <<EOF
> [extensions]
> hgext.graphlog=
+ > color =
> EOF
$ echo "evolve=$(echo $(dirname $TESTDIR))/hgext3rd/evolve/" >> $HGRCPATH
--- a/tests/test-topic-stack.t Wed May 03 13:12:39 2017 +0200
+++ b/tests/test-topic-stack.t Thu May 18 22:53:01 2017 +0200
@@ -4,6 +4,8 @@
$ cat << EOF >> $HGRCPATH
+ > [extensions]
+ > color =
> [ui]
> logtemplate = {rev} {branch} \{{get(namespaces, "topics")}} {phase} {desc|firstline}\n
> [experimental]