Changing target branch after accepting merge request leads to incorrect information
We need the ability to reopen a merge request. In this case, we accepted a merge request into particular branch. When we changed the target branch of the merge request, it says that it's been merged, even though it's not in the target branch.
This is on Gitlab 8.14 EE.
Steps to reproduce
- Add simple commit to
target_branch_1off head commit of master
target_branch_2off head commit of master
- Create merge request to merge
- Accept merge request into
- Edit merge request to change target branch to
- Merge request now says it's been merged into
target_branch_2. Commits from
feature_branchare not on
Merge request status should change to open and show that it's not been merged into the target branch
Merge request status says it's been merged into the target branch, even though it hasn't been.