diff --git a/tests/test-bookmarks b/tests/test-bookmarks --- a/tests/test-bookmarks +++ b/tests/test-bookmarks @@ -15,7 +15,8 @@ echo % list bookmarks hg bookmarks echo % list bookmarks with color -hg --config extensions.color= bookmarks --color=always +hg --config extensions.color= --config color.mode=ansi \ + bookmarks --color=always echo a > a hg add a diff --git a/tests/test-bookmarks-current b/tests/test-bookmarks-current --- a/tests/test-bookmarks-current +++ b/tests/test-bookmarks-current @@ -18,7 +18,8 @@ echo % list bookmarks hg bookmark echo % list bookmarks with color -hg --config extensions.color= bookmark --color=always +hg --config extensions.color= --config color.mode=ansi \ + bookmark --color=always echo % update to bookmark X hg update X diff --git a/tests/test-churn b/tests/test-churn --- a/tests/test-churn +++ b/tests/test-churn @@ -53,7 +53,8 @@ hg rm d/g/f2.txt hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt hg churn --diffstat echo % churn --diffstat with color -hg --config extensions.color= churn --diffstat --color=always +hg --config extensions.color= churn --config color.mode=ansi \ + --diffstat --color=always echo % changeset number churn hg churn -c diff --git a/tests/test-grep b/tests/test-grep --- a/tests/test-grep +++ b/tests/test-grep @@ -22,7 +22,8 @@ hg grep '**test**' echo % simple hg grep port port echo % simple with color -hg --config extensions.color= grep --color=always port port +hg --config extensions.color= grep --config color.mode=ansi \ + --color=always port port echo % all hg grep --traceback --all -nu port port echo % other diff --git a/tests/test-log b/tests/test-log --- a/tests/test-log +++ b/tests/test-log @@ -119,7 +119,8 @@ echo '% log -d -1' hg log -d -1 echo '% log -p -l2 --color=always' -hg --config extensions.color= log -p -l2 --color=always +hg --config extensions.color= --config color.mode=ansi \ + log -p -l2 --color=always echo '% log -r tip --stat' hg log -r tip --stat diff --git a/tests/test-mq-guards b/tests/test-mq-guards --- a/tests/test-mq-guards +++ b/tests/test-mq-guards @@ -100,7 +100,8 @@ hg qselect 1 2 3 echo % list patches and guards hg qguard -l echo % list patches and guards with color -hg --config extensions.color= qguard -l --color=always +hg --config extensions.color= qguard --config color.mode=ansi \ + -l --color=always echo % list series hg qseries -v echo % list guards diff --git a/tests/test-status-color b/tests/test-status-color --- a/tests/test-status-color +++ b/tests/test-status-color @@ -2,6 +2,8 @@ echo "[extensions]" >> $HGRCPATH echo "color=" >> $HGRCPATH +echo "[color]" >> $HGRCPATH +echo "mode=ansi" >> $HGRCPATH hg init repo1 cd repo1