"Create a merge proposal" tip appears when a merge proposal already exists

Bug #1910680 reported by Robie Basak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Low
Simone Pelosi
turnip
In Progress
Low
Colin Watson

Bug Description

I noticed a bug in a git-based MP, fixed it, and force pushed the branch. That produced the following output:

$ git push racb +smart-whitelisting
Counting objects: 6, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (6/6), done.
Writing objects: 100% (6/6), 3.04 KiB | 0 bytes/s, done.
Total 6 (delta 5), reused 0 (delta 0)
remote:
remote: Create a merge proposal for 'smart-whitelisting' on Launchpad by visiting:
remote: https://code.launchpad.net/~racb/usd-importer/+git/usd-importer/+ref/smart-whitelisting/+register-merge
remote:
To git+ssh://<email address hidden>/~racb/usd-importer
 + 0f4035a...98287cd smart-whitelisting -> smart-whitelisting (forced update)

Expected result: no tip, or some tip acknowledging that an MP already exists, since it doesn't really make sense to create a new MP in this case, in general anyway.

Related branches

Colin Watson (cjwatson)
tags: added: code-review confusing-ui lp-code
Changed in launchpad:
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Robie Basak (racb) wrote :

I noticed today when adding a commit to the end of the branch (no force pushing). So a force push/rebase isn't a requirement to trigger this behaviour.

Colin Watson (cjwatson)
Changed in turnip:
status: New → Triaged
importance: Undecided → Low
Colin Watson (cjwatson)
Changed in launchpad:
status: Triaged → Fix Committed
assignee: nobody → Simone Pelosi (pelpsi)
Changed in turnip:
status: Triaged → In Progress
assignee: nobody → Colin Watson (cjwatson)
Revision history for this message
Colin Watson (cjwatson) wrote :

The Launchpad side of this is in place now. We still need to land and deploy the changes on the turnip side, which is complicated slightly by the in-progress switch to focal there.

Changed in launchpad:
status: Fix Committed → Fix Released
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.