comparison tests/test-prune.t @ 810:de20d5500571

debugobsstorestat: add test for pruning There is multiple prune specific code in this command. So we test it in the presence of prun marker too.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 24 Feb 2014 17:44:12 -0800
parents 66c02a2e8e2f
children b49a9276ec8e
comparison
equal deleted inserted replaced
809:5d3ddede6ccf 810:de20d5500571
254 bookmark 'delete' deleted 254 bookmark 'delete' deleted
255 $ hg id -ir 6:2702dd0c91e7 255 $ hg id -ir 6:2702dd0c91e7
256 abort: unknown revision '2702dd0c91e7'! 256 abort: unknown revision '2702dd0c91e7'!
257 [255] 257 [255]
258 258
259 $ hg debugobsstorestat
260 markers total: 4
261 for known precursors: 4
262 with parents data: 0
263 markers with no successors: 4
264 1 successors: 0
265 2 successors: 0
266 more than 2 successors: 0
267 average meta length: 27
268 available keys:
269 date: 4
270 user: 4
271 disconnected clusters: 4
272 any known node: 4
273 smallest length: 1
274 longer length: 1
275 median length: 1
276 mean length: 1
277 using parents data: 4
278 any known node: 4
279 smallest length: 1
280 longer length: 1
281 median length: 1
282 mean length: 1