Fixes source branch not sent in URL after reverting commit
What does this MR do?
The source branch now gets set in the URL so that when you have clicked 'revert' on a commit it correctly takes you to the new merge request page.
What are the relevant issue numbers?
Closes #28426 (closed)