comparison tests/test-debugcommands.t @ 17188:76e55914c303

debugrevlog: handle numrevs == numfull case (issue3537) Instead of tracing back with a ZeroDivisionError.
author Patrick Mezard <patrick@mezard.eu>
date Wed, 11 Jul 2012 11:52:42 +0200
parents
children 47d0843647d1
comparison
equal deleted inserted replaced
17187:293dd81e4601 17188:76e55914c303
1 $ hg init debugrevlog
2 $ cd debugrevlog
3 $ echo a > a
4 $ hg ci -Am adda
5 adding a
6 $ hg debugrevlog -m
7 format : 1
8 flags : inline
9
10 revisions : 1
11 merges : 0 ( 0.00%)
12 normal : 1 (100.00%)
13 revisions : 1
14 full : 1 (100.00%)
15 deltas : 0 ( 0.00%)
16 revision size : 44
17 full : 44 (100.00%)
18 deltas : 0 ( 0.00%)
19
20 avg chain length : 0
21 compression ratio : 0
22
23 uncompressed data size (min/max/avg) : 43 / 43 / 43
24 full revision size (min/max/avg) : 44 / 44 / 44
25 delta size (min/max/avg) : 0 / 0 / 0