Show More
@@ -234,6 +234,10 b' def _slicechunk(revlog, revs):' | |||||
234 | else: |
|
234 | else: | |
235 | density = 1.0 |
|
235 | density = 1.0 | |
236 |
|
236 | |||
|
237 | if density >= revlog._srdensitythreshold: | |||
|
238 | yield revs | |||
|
239 | return | |||
|
240 | ||||
237 | # Store the gaps in a heap to have them sorted by decreasing size |
|
241 | # Store the gaps in a heap to have them sorted by decreasing size | |
238 | gapsheap = [] |
|
242 | gapsheap = [] | |
239 | heapq.heapify(gapsheap) |
|
243 | heapq.heapify(gapsheap) |
General Comments 0
You need to be logged in to leave comments.
Login now