mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
00a9465989
Summary: This diff changes lfs `revision(raw=False)` output to include hg filelog metadata. The LFS blob does not contain filelog metadata as before. This hurts performance if there is a rename, or the binary starts with the magic `\1\n`. But compatibility is greatly improved - it's now possible to swap a non-lfs revision with mercurial rename to a lfs revision, and easier to be compatible with remotefilelog (namely, remotefilelog defers filelog.add until commit hash is known). Test Plan: Modified existing test. Reviewers: #mercurial, durham Reviewed By: durham Subscribers: rmcelroy, durham, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4906074 Signature: t1:4906074:1492559513:09b25fc1026d4ce8fd784a044d6724f12e8bda45 |
||
---|---|---|
.. | ||
__init__.py | ||
blobstore.py | ||
pointer.py | ||
util.py | ||
wrapper.py |