Mercurial > hg
changeset 39080:5c99486fcfe1
debugrevlog: document some of the variable used
This help to understand the code.
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Fri, 27 Jul 2018 10:59:59 +0200 |
parents | 18e866ae2a7d |
children | 195ed920653e |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Tue Aug 14 13:36:41 2018 -0700 +++ b/mercurial/debugcommands.py Fri Jul 27 10:59:59 2018 +0200 @@ -2085,18 +2085,30 @@ if not flags: flags = ['(none)'] + ### tracks merge vs single parent nummerges = 0 + + ### tracks ways the "delta" are build + # full file content numfull = 0 + # delta against previous revision numprev = 0 + # delta against first or second parent (not prev) nump1 = 0 nump2 = 0 + # delta against neither prev nor parents numother = 0 + # delta against prev that are also first or second parent + # (details of `numprev`) nump1prev = 0 nump2prev = 0 + + # data about delta chain of each revs chainlengths = [] chainbases = [] chainspans = [] + # data about each revision datasize = [None, 0, 0] fullsize = [None, 0, 0] deltasize = [None, 0, 0]