comparison tests/test-topic-stack.t @ 4656:dbf676c86244

stack: always provide (full) node hash to non-default --template
author Anton Shestakov <av6@dwimlabs.net>
date Fri, 17 May 2019 17:50:25 +0800
parents bb0a5beb0ad8
children c24dabf8e848
comparison
equal deleted inserted replaced
4655:bb0a5beb0ad8 4656:dbf676c86244
107 $ hg stack -Tjson | python -m json.tool 107 $ hg stack -Tjson | python -m json.tool
108 [ 108 [
109 { 109 {
110 "desc": "c_f", 110 "desc": "c_f",
111 "isentry": true, 111 "isentry": true,
112 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf",
112 "stack_index": 4, 113 "stack_index": 4,
113 "state": [ 114 "state": [
114 "current" 115 "current"
115 ], 116 ],
116 "symbol": "@" 117 "symbol": "@"
117 }, 118 },
118 { 119 {
119 "desc": "c_e", 120 "desc": "c_e",
120 "isentry": true, 121 "isentry": true,
122 "node": "0f9ac936c87d1d991011862aff4e86d0c3300a89",
121 "stack_index": 3, 123 "stack_index": 3,
122 "state": [ 124 "state": [
123 "clean" 125 "clean"
124 ], 126 ],
125 "symbol": ":" 127 "symbol": ":"
126 }, 128 },
127 { 129 {
128 "desc": "c_d", 130 "desc": "c_d",
129 "isentry": true, 131 "isentry": true,
132 "node": "e629654d70505107cca3d12782d9c5a50d8fb9c8",
130 "stack_index": 2, 133 "stack_index": 2,
131 "state": [ 134 "state": [
132 "clean" 135 "clean"
133 ], 136 ],
134 "symbol": ":" 137 "symbol": ":"
135 }, 138 },
136 { 139 {
137 "desc": "c_c", 140 "desc": "c_c",
138 "isentry": true, 141 "isentry": true,
142 "node": "8522f9e3fee92d4ec4e688ac3fbd2ee0f8fd5036",
139 "stack_index": 1, 143 "stack_index": 1,
140 "state": [ 144 "state": [
141 "clean" 145 "clean"
142 ], 146 ],
143 "symbol": ":" 147 "symbol": ":"
144 }, 148 },
145 { 149 {
146 "desc": "c_b", 150 "desc": "c_b",
147 "isentry": false, 151 "isentry": false,
152 "node": "ea705abc4f51e26d356ed94b3443e8c19b76cedf",
148 "stack_index": 0, 153 "stack_index": 0,
149 "state": [ 154 "state": [
150 "base" 155 "base"
151 ], 156 ],
152 "symbol": "^" 157 "symbol": "^"
155 $ hg stack -v -Tjson | python -m json.tool 160 $ hg stack -v -Tjson | python -m json.tool
156 [ 161 [
157 { 162 {
158 "desc": "c_f", 163 "desc": "c_f",
159 "isentry": true, 164 "isentry": true,
160 "node": "6559e6d93aea", 165 "node": "6559e6d93aeadba940874f54f106c61931b5b8cf",
161 "stack_index": 4, 166 "stack_index": 4,
162 "state": [ 167 "state": [
163 "current" 168 "current"
164 ], 169 ],
165 "symbol": "@" 170 "symbol": "@"
166 }, 171 },
167 { 172 {
168 "desc": "c_e", 173 "desc": "c_e",
169 "isentry": true, 174 "isentry": true,
170 "node": "0f9ac936c87d", 175 "node": "0f9ac936c87d1d991011862aff4e86d0c3300a89",
171 "stack_index": 3, 176 "stack_index": 3,
172 "state": [ 177 "state": [
173 "clean" 178 "clean"
174 ], 179 ],
175 "symbol": ":" 180 "symbol": ":"
176 }, 181 },
177 { 182 {
178 "desc": "c_d", 183 "desc": "c_d",
179 "isentry": true, 184 "isentry": true,
180 "node": "e629654d7050", 185 "node": "e629654d70505107cca3d12782d9c5a50d8fb9c8",
181 "stack_index": 2, 186 "stack_index": 2,
182 "state": [ 187 "state": [
183 "clean" 188 "clean"
184 ], 189 ],
185 "symbol": ":" 190 "symbol": ":"
186 }, 191 },
187 { 192 {
188 "desc": "c_c", 193 "desc": "c_c",
189 "isentry": true, 194 "isentry": true,
190 "node": "8522f9e3fee9", 195 "node": "8522f9e3fee92d4ec4e688ac3fbd2ee0f8fd5036",
191 "stack_index": 1, 196 "stack_index": 1,
192 "state": [ 197 "state": [
193 "clean" 198 "clean"
194 ], 199 ],
195 "symbol": ":" 200 "symbol": ":"
196 }, 201 },
197 { 202 {
198 "desc": "c_b", 203 "desc": "c_b",
199 "isentry": false, 204 "isentry": false,
200 "node": "ea705abc4f51", 205 "node": "ea705abc4f51e26d356ed94b3443e8c19b76cedf",
201 "stack_index": 0, 206 "stack_index": 0,
202 "state": [ 207 "state": [
203 "base" 208 "base"
204 ], 209 ],
205 "symbol": "^" 210 "symbol": "^"