Show More
@@ -329,7 +329,7 b' def _slicechunk(revlog, revs, targetsize' | |||||
329 | ... 91, #15 (5) |
|
329 | ... 91, #15 (5) | |
330 | ... ]) |
|
330 | ... ]) | |
331 |
|
331 | |||
332 | >>> list(_slicechunk(revlog, range(16))) |
|
332 | >>> list(_slicechunk(revlog, list(range(16)))) | |
333 | [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]] |
|
333 | [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]] | |
334 | >>> list(_slicechunk(revlog, [0, 15])) |
|
334 | >>> list(_slicechunk(revlog, [0, 15])) | |
335 | [[0], [15]] |
|
335 | [[0], [15]] | |
@@ -460,7 +460,7 b' def _slicechunktodensity(revlog, revs, t' | |||||
460 | ... 91, #15 (5) |
|
460 | ... 91, #15 (5) | |
461 | ... ]) |
|
461 | ... ]) | |
462 |
|
462 | |||
463 | >>> list(_slicechunktodensity(revlog, range(16))) |
|
463 | >>> list(_slicechunktodensity(revlog, list(range(16)))) | |
464 | [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]] |
|
464 | [[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15]] | |
465 | >>> list(_slicechunktodensity(revlog, [0, 15])) |
|
465 | >>> list(_slicechunktodensity(revlog, [0, 15])) | |
466 | [[0], [15]] |
|
466 | [[0], [15]] |
General Comments 0
You need to be logged in to leave comments.
Login now