[Regression] Can't delete MR branches created prior to GitLab 13.8.1
Summary
Our last GitLab upgrade led to the regression that we can't delete branches created prior to the migration, and that by any means.
Steps to reproduce
- Have a GitLab installation prior to
13.8.1with a configured git repo - Create a branch out of
master - Add a commit on top
- Push the branch to the origin
- Create a MR based on it
- Upgrade GitLab to
13.8.1 - Tick the box so that the source branch is deleted when merged to
master - Merge
Example Project
Any.
What is the current bug behavior?
- The source branch is not deleted.
- Doing it manually from the UI doesn't work either.
- Doing it from the command line doesn't work either:
(the git client waits forever until interrupted)
git push -d origin $my_source_branch error executing git hookfatal: ref updates aborted by hook
What is the expected correct behavior?
The source branch is deleted by any of the 3 above means.
GitLab environment info
GitLab Enterprise Edition 13.8.1-ee
Edited by Régis Desgroppes