comparison tests/test-evolve-obshistory-amend-then-fold.t @ 4983:6d40e0166522

obslog: make {node} the full node and leave shortening to template It should be up to the user to shorten the nodeid as much or as little as they like.
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 04 Dec 2019 10:57:29 -0800
parents 7bfd3fed5d1f
children f44cc9abf21c
comparison
equal deleted inserted replaced
4982:ba683c5fe932 4983:6d40e0166522
150 150
151 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool 151 $ hg obslog eb5a0daa2192 --no-graph -Tjson | python -m json.tool
152 [ 152 [
153 { 153 {
154 "markers": [], 154 "markers": [],
155 "node": "eb5a0daa2192", 155 "node": "eb5a0daa21923bbf8caeb2c42085b9e463861fd0",
156 "shortdescription": "C0" 156 "shortdescription": "C0"
157 }, 157 },
158 { 158 {
159 "markers": [ 159 "markers": [
160 { 160 {
173 ], 173 ],
174 "user": "test", 174 "user": "test",
175 "verb": "rewritten" 175 "verb": "rewritten"
176 } 176 }
177 ], 177 ],
178 "node": "b7ea6d14e664", 178 "node": "b7ea6d14e664bdc8922221f7992631b50da3fb07",
179 "shortdescription": "B1" 179 "shortdescription": "B1"
180 }, 180 },
181 { 181 {
182 "markers": [ 182 "markers": [
183 { 183 {
194 ], 194 ],
195 "user": "test", 195 "user": "test",
196 "verb": "rewritten" 196 "verb": "rewritten"
197 } 197 }
198 ], 198 ],
199 "node": "0dec01379d3b", 199 "node": "0dec01379d3be6318c470ead31b1fe7ae7cb53d5",
200 "shortdescription": "B0" 200 "shortdescription": "B0"
201 }, 201 },
202 { 202 {
203 "markers": [ 203 "markers": [
204 { 204 {
216 ], 216 ],
217 "user": "test", 217 "user": "test",
218 "verb": "rewritten" 218 "verb": "rewritten"
219 } 219 }
220 ], 220 ],
221 "node": "471f378eab4c", 221 "node": "471f378eab4c5e25f6c77f785b27c936efb22874",
222 "shortdescription": "A0" 222 "shortdescription": "A0"
223 } 223 }
224 ] 224 ]
225 $ hg update 471f378eab4c 225 $ hg update 471f378eab4c
226 abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192! 226 abort: hidden revision '471f378eab4c' was rewritten as: eb5a0daa2192!