Show More
@@ -227,6 +227,10 b' def _slicechunk(revlog, revs):' | |||||
227 | endbyte = start(revs[-1]) + length(revs[-1]) |
|
227 | endbyte = start(revs[-1]) + length(revs[-1]) | |
228 | readdata = deltachainspan = endbyte - startbyte |
|
228 | readdata = deltachainspan = endbyte - startbyte | |
229 |
|
229 | |||
|
230 | if deltachainspan < revlog._srmingapsize: | |||
|
231 | yield revs | |||
|
232 | return | |||
|
233 | ||||
230 | chainpayload = sum(length(r) for r in revs) |
|
234 | chainpayload = sum(length(r) for r in revs) | |
231 |
|
235 | |||
232 | if deltachainspan: |
|
236 | if deltachainspan: |
General Comments 0
You need to be logged in to leave comments.
Login now