sapling/eden/mononoke/megarepo_api
Stanislau Hlebik e9ec3955c5 mononoke: add a simple test for sync changeset
Summary:
Simple test that syncs a single commit from a source to a target.

A few notes
1) I want to use test Mononoke instance, but I can't initialize them in another
crate because of cfg(test). I removed cfg(test) to make it possible.
2) I initialized megarepo mapping in TestRepoFactory so that all tables
were in the same db. It's not strictly necessary, but makes initialization a bit simpler.

Reviewed By: mitrandir77

Differential Revision: D28444865

fbshipit-source-id: f39c917806709606ce8e5a1c1158f186d239d8b8
2021-05-18 07:37:56 -07:00
..
async_requests mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
commit_transformation mononoke: move copy_file_contents to commit_transformation 2021-05-12 04:44:34 -07:00
configo_client mononoke: sync changeset implementation for megarepo 2021-05-13 10:04:21 -07:00
if megarepo: basic version of async-requests crate 2021-05-10 06:51:37 -07:00
mapping mononoke: add a simple test for sync changeset 2021-05-18 07:37:56 -07:00
megarepo_config mononoke: make test megarepo configs a bit more useful 2021-05-18 07:37:56 -07:00
megarepo_error megarepo: basic version of async-requests crate 2021-05-10 06:51:37 -07:00
requests_table megarepo_api: introduce a MegarepoApi struct to rule them all 2021-05-12 12:00:20 -07:00
src mononoke: add a simple test for sync changeset 2021-05-18 07:37:56 -07:00
Cargo.toml mononoke: add a simple test for sync changeset 2021-05-18 07:37:56 -07:00