Show More
@@ -257,13 +257,13 b' def _slicechunktodensity(revlog, revs, t' | |||
|
257 | 257 | return |
|
258 | 258 | |
|
259 | 259 | deltachainspan = segmentspan(revlog, revs) |
|
260 | chainpayload = sum(length(r) for r in revs) | |
|
261 | 260 | |
|
262 | 261 | if deltachainspan < mingapsize: |
|
263 | 262 | yield revs |
|
264 | 263 | return |
|
265 | 264 | |
|
266 | 265 | readdata = deltachainspan |
|
266 | chainpayload = sum(length(r) for r in revs) | |
|
267 | 267 | |
|
268 | 268 | if deltachainspan: |
|
269 | 269 | density = chainpayload / float(deltachainspan) |
General Comments 0
You need to be logged in to leave comments.
Login now