equal
deleted
inserted
replaced
209 $ rm pickle |
209 $ rm pickle |
210 |
210 |
211 $ echo "^ignoreddir$" > .hgignore |
211 $ echo "^ignoreddir$" > .hgignore |
212 $ mkdir ignoreddir |
212 $ mkdir ignoreddir |
213 $ touch ignoreddir/file |
213 $ touch ignoreddir/file |
|
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] |
214 |
241 |
215 hg status ignoreddir/file: |
242 hg status ignoreddir/file: |
216 |
243 |
217 $ hg status ignoreddir/file |
244 $ hg status ignoreddir/file |
218 |
245 |