Mercurial > hg
comparison tests/test-identify.t @ 33054:a49ab7f5e7e7
identify: rename 'changed' keyword -> 'dirty'
I meant to do this before sending the initial templater support, but forgot.
I'm quite surprised that 'dirty' doesn't occur in more user facing contexts, but
there are a few, like the help for blackbox. It also more obviously mirrors the
'(clean)' state printed by the summary command. I also didn't like that it was
just one letter off from {changes} in the {latesttags} sub-keywords, which has a
totally different meaning.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sun, 25 Jun 2017 17:46:35 -0400 |
parents | 15a79ac823e8 |
children | 9e0d222f5687 |
comparison
equal
deleted
inserted
replaced
33053:ef46d432e2e4 | 33054:a49ab7f5e7e7 |
---|---|
46 $ hg id -Tjson | 46 $ hg id -Tjson |
47 [ | 47 [ |
48 { | 48 { |
49 "bookmarks": [], | 49 "bookmarks": [], |
50 "branch": "default", | 50 "branch": "default", |
51 "changed": "", | 51 "dirty": "", |
52 "id": "cb9a9f314b8b", | 52 "id": "cb9a9f314b8b", |
53 "node": "ffffffffffffffffffffffffffffffffffffffff", | 53 "node": "ffffffffffffffffffffffffffffffffffffffff", |
54 "p1": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}], | 54 "p1": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}], |
55 "tags": ["tip"] | 55 "tags": ["tip"] |
56 } | 56 } |
64 $ hg id -Tjson | 64 $ hg id -Tjson |
65 [ | 65 [ |
66 { | 66 { |
67 "bookmarks": [], | 67 "bookmarks": [], |
68 "branch": "default", | 68 "branch": "default", |
69 "changed": "+", | 69 "dirty": "+", |
70 "id": "cb9a9f314b8b+", | 70 "id": "cb9a9f314b8b+", |
71 "node": "ffffffffffffffffffffffffffffffffffffffff", | 71 "node": "ffffffffffffffffffffffffffffffffffffffff", |
72 "p1": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}], | 72 "p1": [{"node": "cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b", "rev": 0}], |
73 "tags": ["tip"] | 73 "tags": ["tip"] |
74 } | 74 } |