Mercurial > evolve
comparison tests/test-pick.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 | 5113b38cb677 |
children | e6e92835d42d e5d91fd1f319 |
comparison
equal
deleted
inserted
replaced
5274:498dc888ff40 | 5275:417503ef667d |
---|---|
174 | 174 |
175 | 175 |
176 there were no changes to commit, so there shouldn't be any predecessors of 6, | 176 there were no changes to commit, so there shouldn't be any predecessors of 6, |
177 and 2 should say it was pruned (issue6093) | 177 and 2 should say it was pruned (issue6093) |
178 | 178 |
179 $ hg debugobsolete | |
180 7c3bad9141dcb46ff89abf5f61856facd56e476c 7c15c05db6fa1458a8a745f977f4d2426abde6a0 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '4', 'operation': 'pick', 'user': 'test'} | |
181 4538525df7e2b9f09423636c61ef63a4cb872a2d 0 {7c3bad9141dcb46ff89abf5f61856facd56e476c} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'pick', 'user': 'test'} | |
179 $ hg olog --all --hidden -r 2+6 | 182 $ hg olog --all --hidden -r 2+6 |
180 x 4538525df7e2 (2) add c | 183 x 4538525df7e2 (2) add c |
181 pruned using pick by test (Thu Jan 01 00:00:00 1970 +0000) | 184 pruned using pick by test (Thu Jan 01 00:00:00 1970 +0000) |
182 | 185 |
183 @ c4636a81ebeb (6) add c | 186 @ c4636a81ebeb (6) add c |