Skip to content

Fix Import/Export issue to do with fork merge requests

James Lopez requested to merge fix/import-fork-mr into master

Fixes https://gitlab.com/gitlab-org/gitlab-ce/issues/36666

Importing forked MRs resulted in an error to do with not exporting the *_branch_sha attributes properly. Also, using project.repository.branch_exists? uses a cached version of the branch names that we can't use in case MRs point to the same branch, as that will lead to an error.

What are the relevant issue numbers?

Edited by James Lopez

Merge request reports