##// END OF EJS Templates
tests: force color ansi mode on Windows
Patrick Mezard -
r11141:df5d1d57 default
parent child Browse files
Show More
@@ -15,7 +15,8 echo % list bookmarks
15 15 hg bookmarks
16 16
17 17 echo % list bookmarks with color
18 hg --config extensions.color= bookmarks --color=always
18 hg --config extensions.color= --config color.mode=ansi \
19 bookmarks --color=always
19 20
20 21 echo a > a
21 22 hg add a
@@ -18,7 +18,8 echo % list bookmarks
18 18 hg bookmark
19 19
20 20 echo % list bookmarks with color
21 hg --config extensions.color= bookmark --color=always
21 hg --config extensions.color= --config color.mode=ansi \
22 bookmark --color=always
22 23
23 24 echo % update to bookmark X
24 25 hg update X
@@ -53,7 +53,8 hg rm d/g/f2.txt
53 53 hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt
54 54 hg churn --diffstat
55 55 echo % churn --diffstat with color
56 hg --config extensions.color= churn --diffstat --color=always
56 hg --config extensions.color= churn --config color.mode=ansi \
57 --diffstat --color=always
57 58
58 59 echo % changeset number churn
59 60 hg churn -c
@@ -22,7 +22,8 hg grep '**test**'
22 22 echo % simple
23 23 hg grep port port
24 24 echo % simple with color
25 hg --config extensions.color= grep --color=always port port
25 hg --config extensions.color= grep --config color.mode=ansi \
26 --color=always port port
26 27 echo % all
27 28 hg grep --traceback --all -nu port port
28 29 echo % other
@@ -119,7 +119,8 echo '% log -d -1'
119 119 hg log -d -1
120 120
121 121 echo '% log -p -l2 --color=always'
122 hg --config extensions.color= log -p -l2 --color=always
122 hg --config extensions.color= --config color.mode=ansi \
123 log -p -l2 --color=always
123 124
124 125 echo '% log -r tip --stat'
125 126 hg log -r tip --stat
@@ -100,7 +100,8 hg qselect 1 2 3
100 100 echo % list patches and guards
101 101 hg qguard -l
102 102 echo % list patches and guards with color
103 hg --config extensions.color= qguard -l --color=always
103 hg --config extensions.color= qguard --config color.mode=ansi \
104 -l --color=always
104 105 echo % list series
105 106 hg qseries -v
106 107 echo % list guards
@@ -2,6 +2,8
2 2
3 3 echo "[extensions]" >> $HGRCPATH
4 4 echo "color=" >> $HGRCPATH
5 echo "[color]" >> $HGRCPATH
6 echo "mode=ansi" >> $HGRCPATH
5 7
6 8 hg init repo1
7 9 cd repo1
General Comments 0
You need to be logged in to leave comments. Login now