Fix Error 500 when viewing a merge request with a deleted source project
If the merge request can be rebased based on the history of the commits, users attempting to view the merge request would hit an Error 500. This occurred because `user_can_push_to_source_branch?` would be called on a non-existent project. Closes gitlab-org/gitlab-ce#33011
Showing
Please register or sign in to comment