mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
ab319c0b25
Summary: This begins adding a framework for generating snapshots of Eden state for use in tests. I plan to add a few kinds of tests based on these snapshots: - Tests that ensure Eden can successfully load snapshots created by older versions of the code. - Tests that corrupt the snapshot data in various ways and then confirm that it can be repaired by `eden fsck` and/or still loaded successfully by `edenfs` even if it was not repaired with `fsck` first. This code still needs some additional functionality, but I figured it was worth checking in what I have so far. The main functionality that remains to be added is unpacking the snapshots and updating absolute paths inside the config files so that they work in the new path where they were unpacked. Reviewed By: strager Differential Revision: D9690267 fbshipit-source-id: a2660e49b84d7833e6778108d9abe081ab7e2cbd |
||
---|---|---|
.. | ||
types | ||
gen_snapshot.py | ||
snapshot.py |