mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
185bc0f437
Summary: With this new store, blobs will be transparently written to either an LFS store, or a non-LFS one, depending on their size. Initially, and as long as getpackv2 is supported, we also need to support parsing lfs pointer data that the server is sending and write these to the lfs pointer store. This code is very adhoc and does manual parsing of the pointer data, definitively not great, suggestion for a simple and better solution is welcome :). From a migration standpoint, the read-only LFS stores are added to the ContentStore, this allows blobs written in it to be readable at all time even when `remotefilelog.lfs` isn't set. The code will effecitvely be dormant for a while until the option is turned on, if we need to disable it, the dormant code will still be able to read all the blobs written to disk. This forces us to deploy a release that contains this code to stable first, before setting `remotefilelog.lfs`. Reviewed By: quark-zju Differential Revision: D19986878 fbshipit-source-id: 260f5a542d52e748c0c703bfa7bb8ffac0e7b388 |
||
---|---|---|
.. | ||
benchmarks | ||
cli | ||
docs | ||
fs | ||
integration | ||
locale | ||
mononoke | ||
py | ||
scm | ||
scripts | ||
test_support | ||
test-data | ||
third-party | ||
win | ||
.gitignore | ||
Eden.project.toml |