Show More
@@ -563,6 +563,7 b' test-status-color.t' | |||
|
563 | 563 | test-status-inprocess.py |
|
564 | 564 | test-status-rev.t |
|
565 | 565 | test-status-terse.t |
|
566 | test-status.t | |
|
566 | 567 | test-storage.py |
|
567 | 568 | test-stream-bundle-v2.t |
|
568 | 569 | test-strict.t |
@@ -272,8 +272,17 b' hg status -A:' | |||
|
272 | 272 | $ hg status -A -Tpickle > pickle |
|
273 | 273 | >>> from __future__ import print_function |
|
274 | 274 | >>> import pickle |
|
275 |
>>> |
|
|
276 | [('!', 'deleted'), ('?', 'pickle'), ('?', 'unknown'), ('A', 'added'), ('A', 'copied'), ('C', '.hgignore'), ('C', 'modified'), ('I', 'ignored'), ('R', 'removed')] | |
|
275 | >>> data = sorted((x[b'status'].decode(), x[b'path'].decode()) for x in pickle.load(open("pickle", r"rb"))) | |
|
276 | >>> for s, p in data: print("%s %s" % (s, p)) | |
|
277 | ! deleted | |
|
278 | ? pickle | |
|
279 | ? unknown | |
|
280 | A added | |
|
281 | A copied | |
|
282 | C .hgignore | |
|
283 | C modified | |
|
284 | I ignored | |
|
285 | R removed | |
|
277 | 286 | $ rm pickle |
|
278 | 287 | |
|
279 | 288 | $ echo "^ignoreddir$" > .hgignore |
General Comments 0
You need to be logged in to leave comments.
Login now