comparison tests/test-evolve-obshistory-prune.t @ 3936:537fd9a86c06 mercurial-4.3

test-compat: merge mercurial-4.4 into mercurial-4.3
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Fri, 03 Aug 2018 00:22:50 +0200
parents d00f0c369bc7
children
comparison
equal deleted inserted replaced
3935:9af0e2b0bdd7 3936:537fd9a86c06
44 $ hg log --hidden -G 44 $ hg log --hidden -G
45 x changeset: 2:0dec01379d3b 45 x changeset: 2:0dec01379d3b
46 | tag: tip 46 | tag: tip
47 | user: test 47 | user: test
48 | date: Thu Jan 01 00:00:00 1970 +0000 48 | date: Thu Jan 01 00:00:00 1970 +0000
49 | obsolete: pruned using prune 49 | obsolete: pruned
50 | summary: B0 50 | summary: B0
51 | 51 |
52 @ changeset: 1:471f378eab4c 52 @ changeset: 1:471f378eab4c
53 | user: test 53 | user: test
54 | date: Thu Jan 01 00:00:00 1970 +0000 54 | date: Thu Jan 01 00:00:00 1970 +0000
63 Actual test 63 Actual test
64 ----------- 64 -----------
65 65
66 $ hg obslog 'desc(B0)' --hidden --patch 66 $ hg obslog 'desc(B0)' --hidden --patch
67 x 0dec01379d3b (2) B0 67 x 0dec01379d3b (2) B0
68 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) 68 pruned by test (Thu Jan 01 00:00:00 1970 +0000)
69 (No patch available, no successors) 69 (No patch available, no successors)
70 70
71 $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool 71 $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool
72 [ 72 [
73 { 73 {
75 { 75 {
76 "date": [ 76 "date": [
77 *, (glob) 77 *, (glob)
78 0 (glob) 78 0 (glob)
79 ], 79 ],
80 "operation": "prune",
81 "user": "test", 80 "user": "test",
82 "verb": "pruned" 81 "verb": "pruned"
83 } 82 }
84 ], 83 ],
85 "node": "0dec01379d3b", 84 "node": "0dec01379d3b",
113 Check output on the server side 112 Check output on the server side
114 ------------------------------- 113 -------------------------------
115 114
116 $ hg obslog -f -R $TESTTMP/server --patch 0dec01379d3b --hidden 115 $ hg obslog -f -R $TESTTMP/server --patch 0dec01379d3b --hidden
117 x 0dec01379d3b (2) B0 116 x 0dec01379d3b (2) B0
118 pruned using prune by test (at Thu Jan 01 00:00:00 1970 +0000) 117 pruned by test (at Thu Jan 01 00:00:00 1970 +0000)
119 (No patch available, no successors) 118 (No patch available, no successors)
120 119
121 # TODO ADD amend + prune 120 # TODO ADD amend + prune