mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
4a613bcaef
Summary: This diff makes 2 changes to v1 packfile metadata: 1. Move `key` in a metadata entry to before `size`. ``` old: [entry-size: 2 byte] [key: 1 byte] [data: var length] new: [key: 1 byte] [data-size: 2 byte] [data: var length] ``` Previously `entry-size == 0` does not make sense. 2. Use binary to represent sizes, instead of ASCII. Related utility methods are cleaned up a bit so it's harder to make mistakes. Test Plan: Updated existing tests Reviewers: #mercurial, durham Reviewed By: durham Subscribers: durham, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4983189 Signature: t1:4983189:1493689852:22d544d73ed63fac83f849786de035af304161ce |
||
---|---|---|
.. | ||
bitmanipulation.h | ||
compat.h | ||
datapackstore.cpp | ||
datapackstore.h | ||
key.h | ||
match.h | ||
mpatch.c | ||
mpatch.h | ||
py-cdatapack.h | ||
py-cstore.cpp | ||
py-datapackstore.h | ||
py-structs.h | ||
py-treemanifest.h | ||
pythonutil.cpp | ||
pythonutil.h | ||
store.h | ||
uniondatapackstore.cpp | ||
uniondatapackstore.h |