From bfc3410fddb702f8864d7bdf3afa10ea9cccff36 Mon Sep 17 00:00:00 2001 From: Stanislau Hlebik Date: Tue, 15 Sep 2020 02:27:03 -0700 Subject: [PATCH] mononoke: allow syncing XRepoSync bookmarks Summary: Facebook We need them since we are going to sync ovrsource commits into fbsource Reviewed By: krallin Differential Revision: D23701667 fbshipit-source-id: 61db00c7205d5d4047a4040992e7195f769005d3 --- eden/mononoke/mononoke_hg_sync_job/src/bundle_preparer.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eden/mononoke/mononoke_hg_sync_job/src/bundle_preparer.rs b/eden/mononoke/mononoke_hg_sync_job/src/bundle_preparer.rs index 58800a43d6..28ebb18872 100644 --- a/eden/mononoke/mononoke_hg_sync_job/src/bundle_preparer.rs +++ b/eden/mononoke/mononoke_hg_sync_job/src/bundle_preparer.rs @@ -169,8 +169,8 @@ impl BundlePreparer { let blobstore = repo.get_blobstore(); match log_entry.reason { - Pushrebase | Backsyncer | ManualMove | ApiRequest => {} - Blobimport | Push | XRepoSync | TestMove => { + Pushrebase | Backsyncer | ManualMove | ApiRequest | XRepoSync => {} + Blobimport | Push | TestMove => { return err(UnexpectedBookmarkMove(format!("{}", log_entry.reason)).into()) .boxify(); }