Show More
@@ -264,7 +264,7 b' def _slicechunktosize(revlog, revs, targ' | |||||
264 | break # protect against individual chunk larger than limit |
|
264 | break # protect against individual chunk larger than limit | |
265 | localenddata = revlog.end(revs[endrevidx - 1]) |
|
265 | localenddata = revlog.end(revs[endrevidx - 1]) | |
266 | span = localenddata - startdata |
|
266 | span = localenddata - startdata | |
267 |
while |
|
267 | while span > targetsize: | |
268 | if endrevidx - startrevidx <= 1: |
|
268 | if endrevidx - startrevidx <= 1: | |
269 | break # protect against individual chunk larger than limit |
|
269 | break # protect against individual chunk larger than limit | |
270 | endrevidx -= (endrevidx - startrevidx) // 2 |
|
270 | endrevidx -= (endrevidx - startrevidx) // 2 |
General Comments 0
You need to be logged in to leave comments.
Login now