sapling/eden/mononoke/commit_rewriting
Stanislau Hlebik 470efe709d mononoke: set correct commit sync config version if a commit was rewritten out
Summary:
This is one more fix to use correct commit sync config version. In particular,
this diff fixes a case where a single parent commit was rewritten out. E.g.
if a large repo commit touches only files that do not remap in a small repo. In
that case we still want to record correct mapping so that all descendants used
the correct mapping as well.

Reviewed By: ikostia

Differential Revision: D24109221

fbshipit-source-id: bcdbb01b964d70227dff8363e77964716a345261
2020-10-05 13:22:06 -07:00
..
backsyncer mononoke: add version to CommitSyncOutcome:: EquivalentWorkingCopyAncestor 2020-09-28 10:20:15 -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 commit_rewriting: use is_empty() where possible 2020-10-04 10:03:42 -07:00
cross_repo_sync mononoke: set correct commit sync config version if a commit was rewritten out 2020-10-05 13:22:06 -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 get rid of synced_commit_mapping::get_one in mononoke_x_repo_sync_job 2020-10-02 07:44:56 -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