Mercurial > evolve
changeset 1128:aabb145058d7
debugobsstorestats: drop the average meta length
Does not have much sense with the existence of multiple format with different
meta storage. We drop it for now and will introduce and average markers length
later.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Thu, 16 Oct 2014 11:54:44 -0700 |
parents | 87625964c333 |
children | da565c825429 |
files | hgext/evolve.py tests/test-evolve.t tests/test-prune.t |
diffstat | 3 files changed, 0 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/evolve.py Sat Oct 11 02:27:21 2014 +0530 +++ b/hgext/evolve.py Thu Oct 16 11:54:44 2014 -0700 @@ -982,7 +982,6 @@ sucscount = [0, 0 , 0, 0] known = 0 parentsdata = 0 - metatotallenght = 0 metakeys = {} # node -> cluster mapping # a cluster is a (set(nodes), set(markers)) tuple @@ -994,7 +993,6 @@ known += 1 nbsucs = len(mark[1]) sucscount[min(nbsucs, 3)] += 1 - metatotallenght += len(mark[3]) meta = obsolete.decodemeta(mark[3]) for key in meta: metakeys.setdefault(key, 0) @@ -1059,8 +1057,6 @@ ui.write(' 2 successors: %9i\n' % sucscount[2]) ui.write(' more than 2 successors: %9i\n' % sucscount[3]) # meta data info - ui.write('average meta length: %9i\n' - % (metatotallenght/len(store._all))) ui.write(' available keys:\n') for key in sorted(metakeys): ui.write(' %15s: %9i\n' % (key, metakeys[key]))