##// END OF EJS Templates
debugrevlog: fix average size computation for empty data (issue6167)...
marmoute -
r42757:30033d56 stable
parent child Browse files
Show More
@@ -2274,6 +2274,9 b' def debugrevlog(ui, repo, file_=None, **'
2274 totalrawsize = datasize[2]
2274 totalrawsize = datasize[2]
2275 datasize[2] /= numrevs
2275 datasize[2] /= numrevs
2276 fulltotal = fullsize[2]
2276 fulltotal = fullsize[2]
2277 if numfull == 0:
2278 fullsize[2] = 0
2279 else:
2277 fullsize[2] /= numfull
2280 fullsize[2] /= numfull
2278 semitotal = semisize[2]
2281 semitotal = semisize[2]
2279 snaptotal = {}
2282 snaptotal = {}
General Comments 0
You need to be logged in to leave comments. Login now