New command: hg debugrevlog

Benoit Boissinot bboissin at gmail.com
Thu May 12 12:00:14 CDT 2011


On Thu, May 12, 2011 at 6:57 PM, Sune Foldager <cryo at cyanite.org> wrote:
> On 2011-05-12 18:53, Benoit Boissinot wrote:
>>
>> On Thu, May 12, 2011 at 6:44 PM, Sune Foldager <cryo at cyanite.org> wrote:
>>>
>>> Notice how this, non-generaldelta revlog displays less information.
>>
>> You could still show something like:
>> deltas against prev  : 3204
>> ..where prev = p1  : 3073
>> ..where prev = p2  : 33
>> ..other            : 98
>>
>> It would make sense I think. (and we could compare the result before
>> and after shrink)
>
> Yes, that makes sense. I'll fix it later tonight.
>
>> Might also be nice to have %age instead of absolute numbers, easier to
>> interpret.
>
> What's that?

Instead of:
deltas against prev  : 3204
..where prev = p1  : 3073
..where prev = p2  : 33
..other            : 98

we could have:
deltas against prev  : 3204
..where prev = p1  : 92.10%
..where prev = p2  : 5.04%
..other            : 0.27%

Benoit


More information about the Mercurial-devel mailing list