mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
49a7c05d61
Summary: Update the snapshot framework code to add tests that mount saved snapshots with the current edenfs build and verifies that they behave as expected. This also changes the snapshot generation code a fair amount as well, in order to be able to verify the snapshot data: - We now more cleanly split out data that should be saved when the snapshot is first generated (such as the `.eden` state directory) and data that should be re-generated each time the snapshot is unpacked (such as the `/etc/eden` config directory and the system configuration for `hg`). - The code is now capable of rewriting absolute paths in the Eden state files so it is usable in a new location after it has been unpacked. This also updates the "basic" snapshot type to create a wider variety of types of files and file changes, and to be able to verify the contents of a resumed snapshot. Reviewed By: strager Differential Revision: D9955411 fbshipit-source-id: 76012c01016cf4d89dc611c5596a05f5e7f013ed |
||
---|---|---|
.. | ||
types | ||
gen_snapshot.py | ||
snapshot.py | ||
test_snapshots.py | ||
verify.py |