Filter out source branch from git branch picker for prerequisite branch

Bug #1931115 reported by Colin Watson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When creating a new git-based merge proposal, if you select the source repository as a prerequisite, then the possible branches within that repository offered by the picker include the source branch. This doesn't make sense and will be rejected by `GitRef.addLandingTarget`, so the picker should filter it out.

(If it's easy, we should filter out the target branch as well.)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.