sapling/eden/mononoke/tests
Viet Hung Nguyen d3f3cffe13 mononoke/repo_import: check if repo pushredirects
Summary: Some repos are push-redirected repos: pushes go to another repos, but then synced into this repo. Because of this, when we import a repo into a smaller repo that push-redirects to a large repo, we need to make sure we don't break the large repo with the imported code, since merges, pushes, imports etc. are redirected to the large repo. For now, in order to avoid breaking the large repo, we added a simple check that returns error, if the small repo push-redirects to the large one.

Reviewed By: ikostia

Differential Revision: D23158826

fbshipit-source-id: f722790441d641f67293e78c5d1ea5d1102bbb9b
2020-08-17 06:13:21 -07:00
..
fixtures bookmarks: extract BundleReplayData from BookmarkUpdateReason 2020-07-10 04:50:24 -07:00
integration mononoke/repo_import: check if repo pushredirects 2020-08-17 06:13:21 -07:00
utils mononoke: megarepotool support for gradual merge 2020-08-04 02:53:15 -07:00
write_stub_log_entry bookmarks: remove repo_id from Bookmarks methods 2020-07-10 04:50:25 -07:00