##// END OF EJS Templates
color: add test for record support
Brodie Rao -
r9579:c06e7581 default
parent child Browse files
Show More
@@ -33,4 +33,18 b" echo '% default context'"
33 hg diff --nodates --color=always
33 hg diff --nodates --color=always
34
34
35 echo '% --unified=2'
35 echo '% --unified=2'
36 hg diff --nodates -U 2 --color=always No newline at end of file
36 hg diff --nodates -U 2 --color=always
37
38 echo "record=" >> $HGRCPATH
39 echo "[ui]" >> $HGRCPATH
40 echo "interactive=true" >> $HGRCPATH
41 echo "[diff]" >> $HGRCPATH
42 echo "git=True" >> $HGRCPATH
43
44 echo % record
45 chmod 0755 a
46 hg record --color=always -m moda a <<EOF
47 y
48 y
49 EOF
50 echo
@@ -23,3 +23,18 b' adding a'
23 +dd
23 +dd
24 a
24 a
25 a
25 a
26 % record
27 diff --git a/a b/a
28 old mode 100644
29 new mode 100755
30 1 hunks, 2 lines changed
31 examine changes to 'a'? [Ynsfdaq?] @@ -2,7 +2,7 @@
32 c
33 a
34 a
35 -b
36 +dd
37 a
38 a
39 c
40 record this change to 'a'? [Ynsfdaq?]
General Comments 0
You need to be logged in to leave comments. Login now