mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
66368c07a1
Summary: 1. When bisecting, we don't want to wrap around. If middle == 0 and we're lesser than that, we should just fail. 2. large fanout should be header->config & LARGE_FANOUT. | means it's always a large fanout. 3. the format of the fanout table on disk makes it impossible to differentiate between an empty fanout entry and the first fanout entry, as they are both '0'. Therefore, any entry before the *second* fanout entry must implicitly search the 0th element. 4. fixed a bug in the calculation of the last index entry. Test Plan: passed test-datapack.t with other fixes applied. Reviewers: #fastmanifest, durham Reviewed By: durham Subscribers: durham, mitrandir Differential Revision: https://phabricator.intern.facebook.com/D3666770 Signature: t1:3666770:1470341277:3f4f63a365e8bb0f4da6e574fc7f15228877c682 |
||
---|---|---|
.. | ||
cdatapack | ||
__init__.py | ||
basepack.py | ||
basestore.py | ||
cacheclient.py | ||
constants.py | ||
contentstore.py | ||
datapack.py | ||
debugcommands.py | ||
fileserverclient.py | ||
historypack.py | ||
metadatastore.py | ||
remotefilectx.py | ||
remotefilelog.py | ||
remotefilelogserver.py | ||
repack.py | ||
shallowbundle.py | ||
shallowrepo.py | ||
shallowstore.py | ||
shallowutil.py | ||
shallowverifier.py |