diff tests/test-diff-color @ 9579:c06e7581bbaa

color: add test for record support
author Brodie Rao <me+hg@dackz.net>
date Fri, 09 Oct 2009 03:53:24 -0400
parents 03dd55115985
children 9b99f158348a
line wrap: on
line diff
--- a/tests/test-diff-color	Thu Oct 08 10:39:43 2009 +0200
+++ b/tests/test-diff-color	Fri Oct 09 03:53:24 2009 -0400
@@ -33,4 +33,18 @@
 hg diff --nodates --color=always
 
 echo '% --unified=2'
-hg diff --nodates -U 2  --color=always
\ No newline at end of file
+hg diff --nodates -U 2  --color=always
+
+echo "record=" >> $HGRCPATH
+echo "[ui]" >> $HGRCPATH
+echo "interactive=true" >> $HGRCPATH
+echo "[diff]" >> $HGRCPATH
+echo "git=True" >> $HGRCPATH
+
+echo % record
+chmod 0755 a
+hg record --color=always -m moda a <<EOF
+y
+y
+EOF
+echo