[go: up one dir, main page]

Skip to content

The source repository cannot be changed from the create merge request dialog

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

In most cases where I want to merge from one repository to another, I create a branch in the repository I would like to merge to and then create a merge request to merge to this branch. When I create the new branch, Gitlab "helpfully?" tries to give me the chance to create a merge request from this newly created branch. Unfortunately, this branch is in the destination repository, so attempts to use this merge request suggestion fail because the source repository is set to the destination repository and can't be changed.

This is also a fairly serious security issue. I can create a fork of a repository with read-only level permissions, but there is no way for me to merge from the original repository to my fork because there is another Gitlab "feature" that prevents me from creating a merge request in source repository where I only have read-only permissions. Perhaps it is possible to create additional temporary forks to accomplish this merge, but this is all clearly very bad design.

Edited by 🤖 GitLab Bot 🤖