Automatically mark merge proposals when possible

Bug #202004 reported by Daniel Schierbeck
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Medium
Tim Penhey

Bug Description

When the are no unmerged revisions in a merge proposal, it should be marked as merged.

Tags: lp-code
Revision history for this message
Tim Penhey (thumper) wrote :

Now this is somewhat contentious.

What about the situation where a user creates a new hosted branch in Launchpad, proposes for merging on trunk, and then intends to start work on it.

We don't want to mark it merged before it has even been started.

Revision history for this message
Daniel Schierbeck (dasch) wrote :

Could it be checked whether there are any commits in the new branch at all? This could be tricky.

It would probably also be a good idea to disallow proposing "empty" branches for merging.

Revision history for this message
Jonathan Lange (jml) wrote :

There's a better way of implementing this: check for a revision which actually merges the branches -- this avoids the 'empty branch' problem.

I don't think that the feature is at all contentious, I think it's highly desirable.

Jonathan Lange (jml)
Changed in launchpad-bazaar:
importance: Undecided → Medium
status: New → Triaged
Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → thumper
milestone: none → 2.1.10
status: Triaged → In Progress
Revision history for this message
Tim Penhey (thumper) wrote :

Fixed in RF 7104.

Changed in launchpad-bazaar:
status: In Progress → Fix Committed
Revision history for this message
Elliot Murphy (statik) wrote :

Thank you, this is awesome, will make my life much easier.

Paul Hummer (rockstar)
Changed in launchpad-bazaar:
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.