sapling/cstore
Durham Goode b95f6fde55 ctreemanifest: use cstores directly
Summary:
Previously treemanifest always called back to Python to fetch the tree content
for a given key. This patch let's us call directly in to the cstore without
going through Python, when possible.

Test Plan:
I manually tested this by modifying the treemanifest extension to
pass a uniondatapackstore to the ctreemanifest constructor, then used the
debugger to ensure this code path was correct. I still need to add a test
though.

Reviewers: #mercurial, simonfar

Reviewed By: simonfar

Subscribers: simonfar, mjpieters

Differential Revision: https://phabricator.intern.facebook.com/D4571442

Signature: t1:4571442:1487847314:0d578351354ee4da34b5032c01720bdedf0d185d
2017-02-23 14:03:04 -08:00
..
bitmanipulation.h cstore: add mpatch code from core 2017-02-23 14:03:03 -08:00
compat.h cstore: add mpatch code from core 2017-02-23 14:03:03 -08:00
datapackstore.cpp cstore: implement UnionDatapackStore.getdeltachain() 2017-02-23 14:03:03 -08:00
datapackstore.h cstore: implement UnionDatapackStore.getdeltachain() 2017-02-23 14:03:03 -08:00
key.h cstore: implement UnionDatapackStore.getdeltachain() 2017-02-23 14:03:03 -08:00
mpatch.c cstore: add mpatch code from core 2017-02-23 14:03:03 -08:00
mpatch.h cstore: add mpatch code from core 2017-02-23 14:03:03 -08:00
py-cdatapack.h cstore: C++ implementation of datapackstore 2017-02-23 14:03:03 -08:00
py-cstore.cpp cstore: implement UnionDatapackStore 2017-02-23 14:03:03 -08:00
py-datapackstore.h cstore: move uniondatapackstore holder to be a shared_ptr 2017-02-23 14:03:04 -08:00
py-structs.h cstore: move uniondatapackstore holder to be a shared_ptr 2017-02-23 14:03:04 -08:00
py-treemanifest.h ctreemanifest: use cstores directly 2017-02-23 14:03:04 -08:00
store.h cstore: move uniondatapackstore holder to be a shared_ptr 2017-02-23 14:03:04 -08:00
uniondatapackstore.cpp cstore: implement UnionDatapackStore.get() 2017-02-23 14:03:03 -08:00
uniondatapackstore.h cstore: create base Store interface 2017-02-23 14:03:03 -08:00