##// END OF EJS Templates
tests: test basic template support for status
Matt Mackall -
r25515:e8075329 default
parent child Browse files
Show More
@@ -212,6 +212,33 b' hg status -A:'
212 $ mkdir ignoreddir
212 $ mkdir ignoreddir
213 $ touch ignoreddir/file
213 $ touch ignoreddir/file
214
214
215 Test templater support:
216
217 $ hg status -AT "[{status}]\t{if(copy, '{copy} -> ')}{path}\n"
218 [M] .hgignore
219 [A] added
220 [A] modified -> copied
221 [R] removed
222 [!] deleted
223 [?] ignored
224 [?] unknown
225 [I] ignoreddir/file
226 [C] modified
227 $ hg status -AT default
228 M .hgignore
229 A added
230 A copied
231 modified
232 R removed
233 ! deleted
234 ? ignored
235 ? unknown
236 I ignoreddir/file
237 C modified
238 $ hg status -T compact
239 abort: "status" not in template map
240 [255]
241
215 hg status ignoreddir/file:
242 hg status ignoreddir/file:
216
243
217 $ hg status ignoreddir/file
244 $ hg status ignoreddir/file
General Comments 0
You need to be logged in to leave comments. Login now