sapling/eden/mononoke/commit_rewriting
Stanislau Hlebik 9167f3be18 mononoke: remove usage of unsafe_preserve_commit from backsyncer test and use
Summary:
This diff is a first step in a preparation for removing Preserved state from
CommitSyncOutcome. It does two things:

1) Remove unsafe_preserve_commit method and instead rewrite commit with noop
config version - this is exactly how we are going to do it in production
2) While there also select correct mover for validation - previously we were
always picking the current mover

I've also added a bunch of print statements, since it was tricky to debug what
was going on in the test.

Reviewed By: ikostia

Differential Revision: D24216168

fbshipit-source-id: 86e81aea61e638d93bdb33e7c9fd713f7b5e6c3b
2020-10-09 10:35:45 -07:00
..
backsyncer mononoke: remove usage of unsafe_preserve_commit from backsyncer test and use 2020-10-09 10:35:45 -07:00
bookmark_renaming add newtype for CommitSyncConfigVersion 2020-06-26 02:45:26 -07:00
bookmarks_validator mononoke: add version to CommitSyncOutcome:: EquivalentWorkingCopyAncestor 2020-09-28 10:20:15 -07:00
commit_validator mononoke: disallow None config version for EquivalentWorkingCopyAncestor and 2020-10-09 09:58:11 -07:00
cross_repo_sync mononoke: disallow None config version for EquivalentWorkingCopyAncestor and 2020-10-09 09:58:11 -07:00
live_commit_sync_config common: add iterhelpers 2020-10-04 23:51:03 -07:00
megarepo commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
mononoke_x_repo_sync_job mononoke: allow optional bookmark in sync_commit_and_ancestors 2020-10-08 03:48:54 -07:00
movers mononoke/repo_import: add rewrite_commit functionality 2020-06-30 11:39:35 -07:00
synced_commit_mapping commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00