Mercurial > evolve
comparison tests/test-exchange-obsmarkers-case-B2.t @ 3566:e6bea259c227
prune: include "operation" metadata in obsmarkers
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 12 Mar 2018 15:51:17 -0700 |
parents | d166b3dc5e8a |
children | 98941c28f3e2 |
comparison
equal
deleted
inserted
replaced
3565:cfe31185ad07 | 3566:e6bea259c227 |
---|---|
59 @ a9bdc8b26820 (public): O | 59 @ a9bdc8b26820 (public): O |
60 | 60 |
61 $ inspect_obsmarkers | 61 $ inspect_obsmarkers |
62 obsstore content | 62 obsstore content |
63 ================ | 63 ================ |
64 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 64 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
65 obshashtree | 65 obshashtree |
66 =========== | 66 =========== |
67 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 62d86865fd15a1e1b0ef16ebb9cb851689032dd8 | 67 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 74ed8e6f50691484f77e001e3b4d47bfb19e71ca |
68 f5bc6836db60e308a17ba08bf050154ba9c4fad7 6e3ba325674c3b035b63ec3db449ad2853a18372 | 68 f5bc6836db60e308a17ba08bf050154ba9c4fad7 7ffbaf08d0e1af78bf45faaaba500e25993ee5cc |
69 obshashrange | 69 obshashrange |
70 ============ | 70 ============ |
71 rev node index size depth obshash | 71 rev node index size depth obshash |
72 0 a9bdc8b26820 0 1 1 62d86865fd15 | 72 0 a9bdc8b26820 0 1 1 74ed8e6f5069 |
73 $ cd .. | 73 $ cd .. |
74 $ cd .. | 74 $ cd .. |
75 | 75 |
76 $ cp -R B.2 B.2.a | 76 $ cp -R B.2 B.2.a |
77 $ cp -R B.2 B.2.b | 77 $ cp -R B.2 B.2.b |
82 $ dotest B.2.a O | 82 $ dotest B.2.a O |
83 ## Running testcase B.2.a | 83 ## Running testcase B.2.a |
84 # testing echange of "O" (a9bdc8b26820) | 84 # testing echange of "O" (a9bdc8b26820) |
85 ## initial state | 85 ## initial state |
86 # obstore: main | 86 # obstore: main |
87 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 87 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
88 # obstore: pushdest | 88 # obstore: pushdest |
89 # obstore: pulldest | 89 # obstore: pulldest |
90 ## pushing "O" from main to pushdest | 90 ## pushing "O" from main to pushdest |
91 pushing to pushdest | 91 pushing to pushdest |
92 searching for changes | 92 searching for changes |
93 no changes found | 93 no changes found |
94 remote: 1 new obsolescence markers | 94 remote: 1 new obsolescence markers |
95 ## post push state | 95 ## post push state |
96 # obstore: main | 96 # obstore: main |
97 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 97 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
98 # obstore: pushdest | 98 # obstore: pushdest |
99 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 99 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
100 # obstore: pulldest | 100 # obstore: pulldest |
101 ## pulling "a9bdc8b26820" from main into pulldest | 101 ## pulling "a9bdc8b26820" from main into pulldest |
102 pulling from main | 102 pulling from main |
103 no changes found | 103 no changes found |
104 1 new obsolescence markers | 104 1 new obsolescence markers |
105 ## post pull state | 105 ## post pull state |
106 # obstore: main | 106 # obstore: main |
107 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 107 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
108 # obstore: pushdest | 108 # obstore: pushdest |
109 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 109 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
110 # obstore: pulldest | 110 # obstore: pulldest |
111 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 111 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
112 | 112 |
113 Actual Test (bare push version) | 113 Actual Test (bare push version) |
114 ----------------------------------- | 114 ----------------------------------- |
115 | 115 |
116 $ dotest B.2.b | 116 $ dotest B.2.b |
117 ## Running testcase B.2.b | 117 ## Running testcase B.2.b |
118 ## initial state | 118 ## initial state |
119 # obstore: main | 119 # obstore: main |
120 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 120 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
121 # obstore: pushdest | 121 # obstore: pushdest |
122 # obstore: pulldest | 122 # obstore: pulldest |
123 ## pushing from main to pushdest | 123 ## pushing from main to pushdest |
124 pushing to pushdest | 124 pushing to pushdest |
125 searching for changes | 125 searching for changes |
126 no changes found | 126 no changes found |
127 remote: 1 new obsolescence markers | 127 remote: 1 new obsolescence markers |
128 ## post push state | 128 ## post push state |
129 # obstore: main | 129 # obstore: main |
130 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 130 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
131 # obstore: pushdest | 131 # obstore: pushdest |
132 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 132 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
133 # obstore: pulldest | 133 # obstore: pulldest |
134 ## pulling from main into pulldest | 134 ## pulling from main into pulldest |
135 pulling from main | 135 pulling from main |
136 searching for changes | 136 searching for changes |
137 no changes found | 137 no changes found |
138 1 new obsolescence markers | 138 1 new obsolescence markers |
139 ## post pull state | 139 ## post pull state |
140 # obstore: main | 140 # obstore: main |
141 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 141 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
142 # obstore: pushdest | 142 # obstore: pushdest |
143 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 143 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |
144 # obstore: pulldest | 144 # obstore: pulldest |
145 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'user': 'test'} | 145 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '0', 'operation': 'prune', 'user': 'test'} |