equal
deleted
inserted
replaced
1 This test file test the various messages when accessing obsolete |
1 Testing obslog and other commands accessing obsolete revisions. |
2 revisions. |
|
3 |
2 |
4 Global setup |
3 Global setup |
5 ============ |
4 ============ |
6 |
5 |
7 $ . $TESTDIR/testlib/obshistory_setup.sh |
6 $ . $TESTDIR/testlib/obshistory_setup.sh |
64 ----------- |
63 ----------- |
65 |
64 |
66 $ hg obslog 'desc(B0)' --hidden --patch |
65 $ hg obslog 'desc(B0)' --hidden --patch |
67 x 0dec01379d3b (2) B0 |
66 x 0dec01379d3b (2) B0 |
68 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) |
67 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) |
69 (No patch available, no successors) |
68 (No patch available, no predecessors) |
70 |
69 |
71 $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool |
70 $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool |
72 [ |
71 [ |
73 { |
72 { |
74 "markers": [ |
73 "markers": [ |
75 { |
74 { |
76 "date": [ |
75 "dates": [ |
77 *, (glob) |
76 [ |
78 0 |
77 *, (glob) |
|
78 0 |
|
79 ] |
79 ], |
80 ], |
80 "operation": "prune", |
81 "operations": [ |
81 "user": "test", |
82 "prune" |
|
83 ], |
|
84 "users": [ |
|
85 "test" |
|
86 ], |
82 "verb": "pruned" |
87 "verb": "pruned" |
83 } |
88 } |
84 ], |
89 ], |
85 "node": "0dec01379d3be6318c470ead31b1fe7ae7cb53d5", |
90 "node": "0dec01379d3be6318c470ead31b1fe7ae7cb53d5", |
86 "shortdescription": "B0" |
91 "shortdescription": "B0" |
113 Check output on the server side |
118 Check output on the server side |
114 ------------------------------- |
119 ------------------------------- |
115 |
120 |
116 $ hg obslog -f -R $TESTTMP/server --patch 0dec01379d3b --hidden |
121 $ hg obslog -f -R $TESTTMP/server --patch 0dec01379d3b --hidden |
117 x 0dec01379d3b (2) B0 |
122 x 0dec01379d3b (2) B0 |
118 pruned using prune by test (at Thu Jan 01 00:00:00 1970 +0000) |
123 pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000) |
119 (No patch available, no successors) |
124 (No patch available, no predecessors) |
120 |
125 |
121 # TODO ADD amend + prune |
126 # TODO ADD amend + prune |