Skip to content

Show merge request page when target branch is missing

What does this MR do and why?

Updates the merge request page to be shown when the target branch is missing and the source branch has no commits.

References

#533881

Screenshots or screen recordings

Screenshot_2025-10-21_at_15.05.17

How to set up and validate locally

  • Create a merge request with no changes targeting a different branch than the main branch
  • Delete the target branch
  • Visit the merge request

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Phil Hughes

Merge request reports

Loading