sapling/eden/mononoke/commit_rewriting/mononoke_x_repo_sync_job
Stanislau Hlebik 9810413295 mononoke: use sync_commit_and_ancestors in mononoke_x_repo_sync_job once
Summary:
Except for the tail mode of x_repo_sync_job which we use normally there's also
"once" mode which means "sync a single commit". Previously it did just that -
synced a single commit and failed if parents of this commit weren't synced.

However this is very unpleasant to use - instead let's change the semantics to
sync the commit and all of its ancestors.

also I made target_bookmark an optional parameter - sometimes we just want to sync a commit without any bookmarks at all.

Reviewed By: mitrandir77

Differential Revision: D24135771

fbshipit-source-id: 341c1808a44c58f89536b8c07394b77d8ced3f37
2020-10-16 02:37:45 -07:00
..
src mononoke: use sync_commit_and_ancestors in mononoke_x_repo_sync_job once 2020-10-16 02:37:45 -07:00
Cargo.toml mononoke: use wait_for_latest_log_id_to_be_synced in x_repo_sync_job 2020-09-16 09:17:42 -07:00