sapling/eden/mononoke/tests
Viet Hung Nguyen f267bec3f7 mononoke/repo_import: add merge functionality
Summary:
Once we have revealed the commits to the user (D22864223 (578207d0dc), D22762800 (f1ef619284)), we need to merge the imported branch into the destination branch (specified by dest-bookmark). To do this, we extract the latest commit of the destination branch, then compare the two commits, if we have merge conflicts. If we have merge conflicts, we inform the user, so they can resolve it. Otherwise, we create a new bonsai having the two commits as parents.

Next step: pushrebase the merge commit

Minor refactor: moved app setup to a separate file for better readability.

Reviewed By: StanislavGlebik

Differential Revision: D23028163

fbshipit-source-id: 7f3e2a67dc089e6bbacbe71b5e4ef5f6eed2a9e1
2020-08-11 03:26:57 -07:00
..
fixtures bookmarks: extract BundleReplayData from BookmarkUpdateReason 2020-07-10 04:50:24 -07:00
integration mononoke/repo_import: add merge functionality 2020-08-11 03:26:57 -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