mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
5e074bdd43
Summary: Provide an API to ask BlobRepo to create changesets for you from pieces that you either have to hand, or have created via upload_entry(). Parallelism is maintained in as far as possible - if you commit N changesets, they should all upload blobs in parallel, but the final completion future depends on the parents, so that completion order can be maintained. The ultimate goal of this API is to ensure that only valid commits are added to the `BlobRepo` - this means that, once the future returned by `create_changeset` resolves, you have a repo with commits and blobs in place. Until then, all the pieces can be uploaded, but are not guaranteed to be accessible to clients. Still TODO is teaching this to use the complete changesets infra so that we simply know which changesets are fully uploaded. Reviewed By: StanislavGlebik Differential Revision: D6743004 fbshipit-source-id: 813329058d85c022d75388890181b48b78d2acf3 |
||
---|---|---|
.. | ||
blobimport | ||
dumprev.rs | ||
idxdump.rs |