Skip to content

Create MR after reverting commit shows an error

Summary

When we create a MR after reverting a commit the MR view shows the following error: revert_commit

Steps to reproduce

  1. Go to the commits page
  2. Choose a commit and open it
  3. In the options dropdown choose Revert
  4. Guarantee "Start a new merge request with these changes" is checked
  5. Click revert

What is the current bug behavior?

The form to create a new MR shows the following error:

The form contains the following error: You must select source and target branch

What is the expected correct behavior?

I was expecting no error message. I didn't made any action in this page.

I was also expecting the dropdown of the source branch to have the same height has the others.