##// 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 b' echo % list bookmarks'
15 hg bookmarks
15 hg bookmarks
16
16
17 echo % list bookmarks with color
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 echo a > a
21 echo a > a
21 hg add a
22 hg add a
@@ -18,7 +18,8 b' echo % list bookmarks'
18 hg bookmark
18 hg bookmark
19
19
20 echo % list bookmarks with color
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 echo % update to bookmark X
24 echo % update to bookmark X
24 hg update X
25 hg update X
@@ -53,7 +53,8 b' hg rm d/g/f2.txt'
53 hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt
53 hg ci -Am "removed d/g/f2.txt" -u user1 -d 14:00 d/g/f2.txt
54 hg churn --diffstat
54 hg churn --diffstat
55 echo % churn --diffstat with color
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 echo % changeset number churn
59 echo % changeset number churn
59 hg churn -c
60 hg churn -c
@@ -22,7 +22,8 b" hg grep '**test**'"
22 echo % simple
22 echo % simple
23 hg grep port port
23 hg grep port port
24 echo % simple with color
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 echo % all
27 echo % all
27 hg grep --traceback --all -nu port port
28 hg grep --traceback --all -nu port port
28 echo % other
29 echo % other
@@ -119,7 +119,8 b" echo '% log -d -1'"
119 hg log -d -1
119 hg log -d -1
120
120
121 echo '% log -p -l2 --color=always'
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 echo '% log -r tip --stat'
125 echo '% log -r tip --stat'
125 hg log -r tip --stat
126 hg log -r tip --stat
@@ -100,7 +100,8 b' hg qselect 1 2 3'
100 echo % list patches and guards
100 echo % list patches and guards
101 hg qguard -l
101 hg qguard -l
102 echo % list patches and guards with color
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 echo % list series
105 echo % list series
105 hg qseries -v
106 hg qseries -v
106 echo % list guards
107 echo % list guards
@@ -2,6 +2,8 b''
2
2
3 echo "[extensions]" >> $HGRCPATH
3 echo "[extensions]" >> $HGRCPATH
4 echo "color=" >> $HGRCPATH
4 echo "color=" >> $HGRCPATH
5 echo "[color]" >> $HGRCPATH
6 echo "mode=ansi" >> $HGRCPATH
5
7
6 hg init repo1
8 hg init repo1
7 cd repo1
9 cd repo1
General Comments 0
You need to be logged in to leave comments. Login now