Cherry-picking a commit yields 500 error of pre-receive hook denies the creation of the cherry-pick-* branch.
This is on 11.4.8-ee. Steps to reproduce:
- Have a pre-receive hook for the repository that's just "exit 1"
- Cherry-pick in the web UI from e.g.
topic
tomaster
, and have the "Create merge request..." ticked (the default) - Boom! Get 500 error.
It should instead fail in the same way that the UI for creating a commit fails when a pre-receive hook says "no". I.e. say there was a hook error, and present the output from the hook.