sapling/remotefilelog
Durham Goode 7e1047d11f store: change union stores to accept a list of stores
Summary:
Instead of hard coding the list of stores in each union store, let's make it a
list and just test each store in order. This will allow easily adding new stores
and reordering the priority of the existing ones.

Also fix the remote store's contains function. 'contains' is the old name, and
it now needs to be getmissing in order to fit the store contract.

Test Plan: ran the tests

Reviewers: #sourcecontrol, ttung, rmcelroy

Reviewed By: rmcelroy

Differential Revision: https://phabricator.fb.com/D3205314

Signature: t1:3205314:1461606028:3a513ac82c5de668a7e40bbf7cc88d8754e2f0bb
2016-04-26 15:10:38 -07:00
..
__init__.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
basestore.py Fix missing 'grp' import 2016-04-18 11:46:06 -07:00
cacheclient.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
contentstore.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
debugcommands.py checkcode: fix errors in cacheclient and debugcommands 2016-04-26 13:00:31 -07:00
fileserverclient.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
metadatastore.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
remotefilectx.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelog.py checkcode: fix remotefilectx and remotefilelog 2016-04-26 13:00:31 -07:00
remotefilelogserver.py checkcode: fix remotefilelogserver and shallowbundle 2016-04-26 13:00:31 -07:00
shallowbundle.py Move sortnodes into shallowutil 2016-04-26 15:10:38 -07:00
shallowrepo.py store: change union stores to accept a list of stores 2016-04-26 15:10:38 -07:00
shallowstore.py Add more comments explaining various complexities 2013-11-05 17:19:59 -08:00
shallowutil.py Move sortnodes into shallowutil 2016-04-26 15:10:38 -07:00
shallowverifier.py remotefilelog: removing filelog check from verification process 2016-01-07 16:57:39 -08:00