mercurial/debugcommands.py
changeset 40030 e2697acd9381
parent 40018 426cb2859013
child 40174 64360202d5b2
equal deleted inserted replaced
40029:51f10e6d66c7 40030:e2697acd9381
  2195     datasize[2] /= numrevs
  2195     datasize[2] /= numrevs
  2196     fulltotal = fullsize[2]
  2196     fulltotal = fullsize[2]
  2197     fullsize[2] /= numfull
  2197     fullsize[2] /= numfull
  2198     semitotal = semisize[2]
  2198     semitotal = semisize[2]
  2199     snaptotal = {}
  2199     snaptotal = {}
  2200     if 0 < numsemi:
  2200     if numsemi > 0:
  2201         semisize[2] /= numsemi
  2201         semisize[2] /= numsemi
  2202     for depth in snapsizedepth:
  2202     for depth in snapsizedepth:
  2203         snaptotal[depth] = snapsizedepth[depth][2]
  2203         snaptotal[depth] = snapsizedepth[depth][2]
  2204         snapsizedepth[depth][2] /= numsnapdepth[depth]
  2204         snapsizedepth[depth][2] /= numsnapdepth[depth]
  2205 
  2205