mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
9abd29d4c3
Summary: Alas, the diff is huge. One thing is changing Changesets to use ChangesetId. This is actually quite straightforward. But in order to do this we need to adapt our test fixtures to also use bonsai changesets. Modifying existing test fixtures to work with bonsai changesets is very tricky. Besides, existing test fixtures is a big pile of tech debt anyway, so I used this chance to get rid of them. Now test fixtures use `generate_new_fixtures` binary to generate an actual Rust code that creates a BlobRepo. This Rust code creates a bonsai changeset, that is converted to hg changeset later. In many cases it results in the same hg hashes as in old test fixtures. However, there are a couple of cases where the hashes are different: 1) In the case of merge we are generating different hashes because of different changed file list (lukaspiatkowski, aslpavel, is it expected?). this is the case for test fixtures like merge_even, merge_uneven and so on. 2) Old test fixtures used flat manifest hashes while new test fixtures are tree manifest only. Reviewed By: jsgf Differential Revision: D9132296 fbshipit-source-id: 5c4effd8d56dfc0bca13c924683c19665e7bed31 |
||
---|---|---|
.. | ||
mysql-changesets.sql | ||
sqlite-changesets.sql |