#5120 The default "New Pull Request" link gives 400 Bad Request when the fork's default branch is missing from upstream
Opened by churchyard. Modified

When I go to https://src.fedoraproject.org/fork/churchyard/rpms/python-pip and I open the Open PR menu and click the New Pull Request item, it brings me to:

https://src.fedoraproject.org/fork/churchyard/rpms/python-pip/diff/master..master

Which gives 400 Bad Request so I have no way to change the branches.

I believe the link should lead to https://src.fedoraproject.org/fork/churchyard/rpms/python-pip/diff/rawhide..master instead.

Alternatively, the error page should let me change the branches.


This was also reported in https://pagure.io/pagure/issue/5121

It should also care of using "main" instead of "master".

Metadata