tests/test-diff-color
changeset 7458 03dd55115985
child 9579 c06e7581bbaa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-diff-color	Tue Dec 02 10:13:52 2008 -0600
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+echo "[extensions]" >> $HGRCPATH
+echo "color=" >> $HGRCPATH
+
+hg init repo
+cd repo
+cat > a <<EOF
+c
+c
+a
+a
+b
+a
+a
+c
+c
+EOF
+hg ci -Am adda
+cat > a <<EOF
+c
+c
+a
+a
+dd
+a
+a
+c
+c
+EOF
+
+echo '% default context'
+hg diff --nodates --color=always
+
+echo '% --unified=2'
+hg diff --nodates -U 2  --color=always
\ No newline at end of file