Mercurial > evolve
comparison tests/test-evolve-obshistory-prune.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 | f16274729530 |
children | ce8479d1a6f9 |
comparison
equal
deleted
inserted
replaced
4982:ba683c5fe932 | 4983:6d40e0166522 |
---|---|
80 "operation": "prune", | 80 "operation": "prune", |
81 "user": "test", | 81 "user": "test", |
82 "verb": "pruned" | 82 "verb": "pruned" |
83 } | 83 } |
84 ], | 84 ], |
85 "node": "0dec01379d3b", | 85 "node": "0dec01379d3be6318c470ead31b1fe7ae7cb53d5", |
86 "shortdescription": "B0" | 86 "shortdescription": "B0" |
87 } | 87 } |
88 ] | 88 ] |
89 $ hg obslog 'desc(A0)' --patch | 89 $ hg obslog 'desc(A0)' --patch |
90 @ 471f378eab4c (1) A0 | 90 @ 471f378eab4c (1) A0 |
91 | 91 |
92 $ hg obslog 'desc(A0)' --no-graph -Tjson | python -m json.tool | 92 $ hg obslog 'desc(A0)' --no-graph -Tjson | python -m json.tool |
93 [ | 93 [ |
94 { | 94 { |
95 "markers": [], | 95 "markers": [], |
96 "node": "471f378eab4c", | 96 "node": "471f378eab4c5e25f6c77f785b27c936efb22874", |
97 "shortdescription": "A0" | 97 "shortdescription": "A0" |
98 } | 98 } |
99 ] | 99 ] |
100 $ hg up 1 | 100 $ hg up 1 |
101 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 101 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |