mercurial/revlogutils/debug.py
changeset 52648 abc327f9628b
parent 52636 0e11e532c958
equal deleted inserted replaced
52647:ab7b4fba8bde 52648:abc327f9628b
   303     # full file content
   303     # full file content
   304     numfull = 0
   304     numfull = 0
   305     # intermediate snapshot against a prior snapshot
   305     # intermediate snapshot against a prior snapshot
   306     numsemi = 0
   306     numsemi = 0
   307     # snapshot count per depth
   307     # snapshot count per depth
   308     numsnapdepth = collections.defaultdict(lambda: 0)
   308     numsnapdepth = collections.defaultdict(int)
   309     # number of snapshots with a non-ancestor delta
   309     # number of snapshots with a non-ancestor delta
   310     numsnapdepth_nad = collections.defaultdict(lambda: 0)
   310     numsnapdepth_nad = collections.defaultdict(int)
   311     # delta against previous revision
   311     # delta against previous revision
   312     numprev = 0
   312     numprev = 0
   313     # delta against prev, where prev is a non-ancestor
   313     # delta against prev, where prev is a non-ancestor
   314     numprev_nad = 0
   314     numprev_nad = 0
   315     # delta against first or second parent (not prev)
   315     # delta against first or second parent (not prev)