Show More
@@ -108,32 +108,52 b' as default style, except for extra phase' | |||
|
108 | 108 | $ hg log --style default > style.out |
|
109 | 109 | $ cmp log.out style.out || diff -u log.out style.out |
|
110 | 110 | $ hg log -T phases > phases.out |
|
111 |
$ diff - |
|
|
111 | $ diff -U 0 log.out phases.out | grep -v '^---\|^+++' | |
|
112 | @@ -2,0 +3 @@ | |
|
112 | 113 | +phase: draft |
|
114 | @@ -6,0 +8 @@ | |
|
113 | 115 | +phase: draft |
|
116 | @@ -11,0 +14 @@ | |
|
114 | 117 | +phase: draft |
|
118 | @@ -17,0 +21 @@ | |
|
115 | 119 | +phase: draft |
|
120 | @@ -24,0 +29 @@ | |
|
116 | 121 | +phase: draft |
|
122 | @@ -31,0 +37 @@ | |
|
117 | 123 | +phase: draft |
|
124 | @@ -36,0 +43 @@ | |
|
118 | 125 | +phase: draft |
|
126 | @@ -41,0 +49 @@ | |
|
119 | 127 | +phase: draft |
|
128 | @@ -46,0 +55 @@ | |
|
120 | 129 | +phase: draft |
|
130 | @@ -51,0 +61 @@ | |
|
121 | 131 | +phase: draft |
|
122 | 132 | |
|
123 | 133 | $ hg log -v > log.out |
|
124 | 134 | $ hg log -v --style default > style.out |
|
125 | 135 | $ cmp log.out style.out || diff -u log.out style.out |
|
126 | 136 | $ hg log -v -T phases > phases.out |
|
127 |
$ diff - |
|
|
137 | $ diff -U 0 log.out phases.out | grep -v '^---\|^+++' | |
|
138 | @@ -2,0 +3 @@ | |
|
128 | 139 | +phase: draft |
|
140 | @@ -7,0 +9 @@ | |
|
129 | 141 | +phase: draft |
|
142 | @@ -15,0 +18 @@ | |
|
130 | 143 | +phase: draft |
|
144 | @@ -24,0 +28 @@ | |
|
131 | 145 | +phase: draft |
|
146 | @@ -33,0 +38 @@ | |
|
132 | 147 | +phase: draft |
|
148 | @@ -43,0 +49 @@ | |
|
133 | 149 | +phase: draft |
|
150 | @@ -50,0 +57 @@ | |
|
134 | 151 | +phase: draft |
|
152 | @@ -58,0 +66 @@ | |
|
135 | 153 | +phase: draft |
|
154 | @@ -66,0 +75 @@ | |
|
136 | 155 | +phase: draft |
|
156 | @@ -77,0 +87 @@ | |
|
137 | 157 | +phase: draft |
|
138 | 158 | |
|
139 | 159 | $ hg log -q > log.out |
@@ -160,32 +180,52 b' Default style should also preserve color' | |||
|
160 | 180 | $ hg --color=debug log --style default > style.out |
|
161 | 181 | $ cmp log.out style.out || diff -u log.out style.out |
|
162 | 182 | $ hg --color=debug log -T phases > phases.out |
|
163 |
$ diff - |
|
|
183 | $ diff -U 0 log.out phases.out | grep -v '^---\|^+++' | |
|
184 | @@ -2,0 +3 @@ | |
|
164 | 185 | +[log.phase|phase: draft] |
|
186 | @@ -6,0 +8 @@ | |
|
165 | 187 | +[log.phase|phase: draft] |
|
188 | @@ -11,0 +14 @@ | |
|
166 | 189 | +[log.phase|phase: draft] |
|
190 | @@ -17,0 +21 @@ | |
|
167 | 191 | +[log.phase|phase: draft] |
|
192 | @@ -24,0 +29 @@ | |
|
168 | 193 | +[log.phase|phase: draft] |
|
194 | @@ -31,0 +37 @@ | |
|
169 | 195 | +[log.phase|phase: draft] |
|
196 | @@ -36,0 +43 @@ | |
|
170 | 197 | +[log.phase|phase: draft] |
|
198 | @@ -41,0 +49 @@ | |
|
171 | 199 | +[log.phase|phase: draft] |
|
200 | @@ -46,0 +55 @@ | |
|
172 | 201 | +[log.phase|phase: draft] |
|
202 | @@ -51,0 +61 @@ | |
|
173 | 203 | +[log.phase|phase: draft] |
|
174 | 204 | |
|
175 | 205 | $ hg --color=debug -v log > log.out |
|
176 | 206 | $ hg --color=debug -v log --style default > style.out |
|
177 | 207 | $ cmp log.out style.out || diff -u log.out style.out |
|
178 | 208 | $ hg --color=debug -v log -T phases > phases.out |
|
179 |
$ diff - |
|
|
209 | $ diff -U 0 log.out phases.out | grep -v '^---\|^+++' | |
|
210 | @@ -2,0 +3 @@ | |
|
180 | 211 | +[log.phase|phase: draft] |
|
212 | @@ -7,0 +9 @@ | |
|
181 | 213 | +[log.phase|phase: draft] |
|
214 | @@ -15,0 +18 @@ | |
|
182 | 215 | +[log.phase|phase: draft] |
|
216 | @@ -24,0 +28 @@ | |
|
183 | 217 | +[log.phase|phase: draft] |
|
218 | @@ -33,0 +38 @@ | |
|
184 | 219 | +[log.phase|phase: draft] |
|
220 | @@ -43,0 +49 @@ | |
|
185 | 221 | +[log.phase|phase: draft] |
|
222 | @@ -50,0 +57 @@ | |
|
186 | 223 | +[log.phase|phase: draft] |
|
224 | @@ -58,0 +66 @@ | |
|
187 | 225 | +[log.phase|phase: draft] |
|
226 | @@ -66,0 +75 @@ | |
|
188 | 227 | +[log.phase|phase: draft] |
|
228 | @@ -77,0 +87 @@ | |
|
189 | 229 | +[log.phase|phase: draft] |
|
190 | 230 | |
|
191 | 231 | $ hg --color=debug -q log > log.out |
General Comments 0
You need to be logged in to leave comments.
Login now