diff tests/test-churn @ 11141:df5d1d571d27

tests: force color ansi mode on Windows
author Patrick Mezard <pmezard@gmail.com>
date Mon, 10 May 2010 22:46:16 +0200
parents 717c35d55fb3
children 30c620e48d1c
line wrap: on
line diff
--- a/tests/test-churn	Mon May 10 21:44:00 2010 +0200
+++ b/tests/test-churn	Mon May 10 22:46:16 2010 +0200
@@ -53,7 +53,8 @@
 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