comparison tests/test-evolve-issue6097.t @ 5275:417503ef667d

tests: add debugobsolete calls before many obslog calls As requested by Pierre-Yves. The main reason is to catch superfluous creation of obsmarkers, as well as any future changes to how the obsmarkers get created.
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 16 Dec 2019 11:14:39 -0800
parents 900668a93629
children e8660b28bfee
comparison
equal deleted inserted replaced
5274:498dc888ff40 5275:417503ef667d
59 date: Thu Jan 01 00:00:00 1970 +0000 59 date: Thu Jan 01 00:00:00 1970 +0000
60 obsolete: rewritten using amend, rebase as 3:2868fe6df617 60 obsolete: rewritten using amend, rebase as 3:2868fe6df617
61 summary: apricot 61 summary: apricot
62 62
63 63
64 $ hg debugobsolete
65 692cc7b6212c102a9eafcf04ed2e4bfca5023754 32acf8fb1b2325c727135dcd65153745a031a125 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
66 32acf8fb1b2325c727135dcd65153745a031a125 2868fe6df617a3045cf668e4ab1c486a8692abd1 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '12', 'operation': 'rebase', 'user': 'test'}
67 e0486f65907dac7107e72a247386845e6a9fd83b 0 {692cc7b6212c102a9eafcf04ed2e4bfca5023754} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
64 $ hg obslog 68 $ hg obslog
65 @ 2868fe6df617 (3) apricot and coconut 69 @ 2868fe6df617 (3) apricot and coconut
66 | 70 |
67 x 32acf8fb1b23 (2) apricot and coconut 71 x 32acf8fb1b23 (2) apricot and coconut
68 | rewritten(parent, content) as 2868fe6df617 using rebase by test (Thu Jan 01 00:00:00 1970 +0000) 72 | rewritten(parent, content) as 2868fe6df617 using rebase by test (Thu Jan 01 00:00:00 1970 +0000)
83 user: test 87 user: test
84 date: Thu Jan 01 00:00:00 1970 +0000 88 date: Thu Jan 01 00:00:00 1970 +0000
85 summary: apricot and coconut 89 summary: apricot and coconut
86 90
87 91
92 $ hg debugobsolete
93 692cc7b6212c102a9eafcf04ed2e4bfca5023754 32acf8fb1b2325c727135dcd65153745a031a125 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '9', 'operation': 'amend', 'user': 'test'}
94 32acf8fb1b2325c727135dcd65153745a031a125 2868fe6df617a3045cf668e4ab1c486a8692abd1 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '12', 'operation': 'rebase', 'user': 'test'}
95 e0486f65907dac7107e72a247386845e6a9fd83b 0 {692cc7b6212c102a9eafcf04ed2e4bfca5023754} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'}
96 2868fe6df617a3045cf668e4ab1c486a8692abd1 bb847d1d3a5f3de90f4fd5e845b69d848568401a 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'evolve', 'user': 'test'}
88 $ hg obslog 97 $ hg obslog
89 @ bb847d1d3a5f (4) apricot and coconut 98 @ bb847d1d3a5f (4) apricot and coconut
90 | 99 |
91 x 2868fe6df617 (3) apricot and coconut 100 x 2868fe6df617 (3) apricot and coconut
92 | rebased(parent) as bb847d1d3a5f using evolve by test (Thu Jan 01 00:00:00 1970 +0000) 101 | rebased(parent) as bb847d1d3a5f using evolve by test (Thu Jan 01 00:00:00 1970 +0000)