--- 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
--- a/tests/test-diff-color.out Thu Oct 08 10:39:43 2009 +0200
+++ b/tests/test-diff-color.out Fri Oct 09 03:53:24 2009 -0400
@@ -23,3 +23,18 @@
[0;32m+dd[0m
a
a
+% record
+[0;1mdiff --git a/a b/a[0m
+[0;36;1mold mode 100644[0m
+[0;36;1mnew mode 100755[0m
+1 hunks, 2 lines changed
+examine changes to 'a'? [Ynsfdaq?] [0;35m@@ -2,7 +2,7 @@[0m
+ c
+ a
+ a
+[0;31m-b[0m
+[0;32m+dd[0m
+ a
+ a
+ c
+record this change to 'a'? [Ynsfdaq?]