Show More
@@ -588,6 +588,7 b' test-remotefilelog-bundles.t' | |||||
588 | test-remotefilelog-cacheprocess.t |
|
588 | test-remotefilelog-cacheprocess.t | |
589 | test-remotefilelog-clone-tree.t |
|
589 | test-remotefilelog-clone-tree.t | |
590 | test-remotefilelog-clone.t |
|
590 | test-remotefilelog-clone.t | |
|
591 | test-remotefilelog-datapack.py | |||
591 | test-remotefilelog-gcrepack.t |
|
592 | test-remotefilelog-gcrepack.t | |
592 | test-remotefilelog-histpack.py |
|
593 | test-remotefilelog-histpack.py | |
593 | test-remotefilelog-http.t |
|
594 | test-remotefilelog-http.t |
@@ -243,7 +243,7 b' class datapack(basepack.basepack):' | |||||
243 | else: |
|
243 | else: | |
244 | while start < end - entrylen: |
|
244 | while start < end - entrylen: | |
245 | mid = start + (end - start) / 2 |
|
245 | mid = start + (end - start) / 2 | |
246 | mid = mid - ((mid - params.indexstart) % entrylen) |
|
246 | mid = int(mid - ((mid - params.indexstart) % entrylen)) | |
247 | midnode = index[mid:mid + NODELENGTH] |
|
247 | midnode = index[mid:mid + NODELENGTH] | |
248 | if midnode == node: |
|
248 | if midnode == node: | |
249 | entry = index[mid:mid + entrylen] |
|
249 | entry = index[mid:mid + entrylen] |
General Comments 0
You need to be logged in to leave comments.
Login now