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