mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 09:17:30 +03:00
4240bd017e
Summary: This diffs add a `getmeta` method to all content stores. The cdatapack code is modified to pass the tests, it needs further change to support `getmeta`. The datapack format is bumped to v1 from v0. For v1, we append a `metadata` dict at the end of each revision. The dict is currently used to store revlog flags and rawsize of raw revlog fulltext. In the future we can put more data like a second hash etc, without changing API or format again. This diff focuses on correctness. A datapack caching layer to speed up `getmeta` will be added later. Tests are updated since we write new v1 packfile now and the format change leads to different content and packfile names. `Makefile`, `ls-l.py` are added to make tests easier to maintain. Test Plan: Updated existing tests. Reviewers: #mercurial, rmcelroy, durham Reviewed By: durham Subscribers: rmcelroy, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D4903917 Signature: t1:4903917:1493255844:7ef5d487096cd2f78f2aaae672a68d49f33632ee
19 lines
245 B
Plaintext
19 lines
245 B
Plaintext
syntax: regexp
|
|
\.pyc$
|
|
\.o$
|
|
\.so$
|
|
\.err$
|
|
^build/
|
|
^.*\.egg-info/
|
|
^packages/
|
|
^dist/
|
|
^tests/getdb\.sh
|
|
^tests/report\.json
|
|
.idea
|
|
.testtimes*
|
|
^hgext3rd/.*\.c$
|
|
^cdatapack/cdatapack_dump$
|
|
|
|
subinclude:cfastmanifest/.hgignore
|
|
subinclude:linelog/.hgignore
|