##// END OF EJS Templates
debugrevlog: document some of the variable used...
Boris Feld -
r39115:5c99486f default
parent child Browse files
Show More
@@ -2085,18 +2085,30 b' def debugrevlog(ui, repo, file_=None, **'
2085 if not flags:
2085 if not flags:
2086 flags = ['(none)']
2086 flags = ['(none)']
2087
2087
2088 ### tracks merge vs single parent
2088 nummerges = 0
2089 nummerges = 0
2090
2091 ### tracks ways the "delta" are build
2092 # full file content
2089 numfull = 0
2093 numfull = 0
2094 # delta against previous revision
2090 numprev = 0
2095 numprev = 0
2096 # delta against first or second parent (not prev)
2091 nump1 = 0
2097 nump1 = 0
2092 nump2 = 0
2098 nump2 = 0
2099 # delta against neither prev nor parents
2093 numother = 0
2100 numother = 0
2101 # delta against prev that are also first or second parent
2102 # (details of `numprev`)
2094 nump1prev = 0
2103 nump1prev = 0
2095 nump2prev = 0
2104 nump2prev = 0
2105
2106 # data about delta chain of each revs
2096 chainlengths = []
2107 chainlengths = []
2097 chainbases = []
2108 chainbases = []
2098 chainspans = []
2109 chainspans = []
2099
2110
2111 # data about each revision
2100 datasize = [None, 0, 0]
2112 datasize = [None, 0, 0]
2101 fullsize = [None, 0, 0]
2113 fullsize = [None, 0, 0]
2102 deltasize = [None, 0, 0]
2114 deltasize = [None, 0, 0]
General Comments 0
You need to be logged in to leave comments. Login now