Mercurial > evolve
changeset 2423:677dfbb8bdbf mercurial-4.1
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.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Thu, 18 May 2017 22:53:01 +0200 |
parents | 7263463ae79a |
children | 0405bbda7402 |
files | tests/test-evolve-obshistory.t tests/test-obsolete.t tests/test-prev-next.t tests/test-topic-stack.t |
diffstat | 4 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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]