diff -r 0471b9ddd0b2 -r 844b1ad5b34b tests/test-evolve-obshistory-prune.t --- a/tests/test-evolve-obshistory-prune.t Wed Apr 08 01:17:01 2020 +0800 +++ b/tests/test-evolve-obshistory-prune.t Fri May 08 22:50:09 2020 +0800 @@ -1,5 +1,4 @@ -This test file test the various messages when accessing obsolete -revisions. +Testing obslog and other commands accessing obsolete revisions. Global setup ============ @@ -66,19 +65,25 @@ $ hg obslog 'desc(B0)' --hidden --patch x 0dec01379d3b (2) B0 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) - (No patch available, no successors) + (No patch available, no predecessors) $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool [ { "markers": [ { - "date": [ - *, (glob) - 0 + "dates": [ + [ + *, (glob) + 0 + ] ], - "operation": "prune", - "user": "test", + "operations": [ + "prune" + ], + "users": [ + "test" + ], "verb": "pruned" } ], @@ -115,7 +120,7 @@ $ hg obslog -f -R $TESTTMP/server --patch 0dec01379d3b --hidden x 0dec01379d3b (2) B0 - pruned using prune by test (at Thu Jan 01 00:00:00 1970 +0000) - (No patch available, no successors) + pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) + (No patch available, no predecessors) # TODO ADD amend + prune