sapling/lib/revisionstore
Xavier Deguillard 2f58502ba8 revisionstore: use replace instead of direct drop
Summary:
Instead of manually dropping some of the datapack/historypack fields, we can
drop the entire object. This allows implementing the Drop trait more easily.
But, this prevents the code from later using some of the object fields. We can
use replace to move them in a zero-copy fashion.

Reviewed By: DurhamG

Differential Revision: D15076017

fbshipit-source-id: 4831dfcc2005c957862d32eeda02f62796be3afb
2019-04-25 18:53:06 -07:00
..
src revisionstore: use replace instead of direct drop 2019-04-25 18:53:06 -07:00
Cargo.toml revisionstore: add an indexedlog backed content store 2019-04-10 10:34:34 -07:00
RevisionStore.cpp load blobs using hg's rust config and datapack code 2018-10-31 17:58:17 -07:00
RevisionStore.h load blobs using hg's rust config and datapack code 2018-10-31 17:58:17 -07:00