we are using Gitlab 8.10.1 with many groups and projects. Many of the projects happen to be forks of other projects.
Our problem is that whenever somebody opens a merge request for a project the default target branch is NOT the default branch of the project but from one very specific other project. Is there a way to override this setting somehow?
Just to make it clear, I know how to set the default branch of a project and those settings appear to be correct, however gitlab doesn't seem to use them when creating merge requests.
This issue is very annoying and has led to weird situations when people didn't pay attention and made merge requests with a completely different "master" as target.
解决方案
We found the source for this behavior, it is due to the relationship between the projects as one project was forked in gitlab from the other. When removing the relation between the source and the fork, the default branch for merges is the default branch of the project itself.
Right now this is our solution for this situation, as we can live with the implications of the removal of the sourcefork relation.