empty diff shown for some merged proposals

Bug #734629 reported by Martin Pool
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

If a branch is proposed and then soon afterwards merged into the target, you can end up with a merge proposal whose web page shows no diff, or an empty or nonsensical diff.

<https://code.launchpad.net/~wgrant/pydkim/split-out-crypto/+merge/52776> is one instance; I've seen others.

What should happen instead is that the diff should be generated between the tip of the source branch, and the target revision immediately before it was merged. Then the mp page will be a good representation of what was proposed and merged. (Or perhaps a better algorithm is possible.) At any rate being timing-dependent, as the current system seems to be, is a bug.

Revision history for this message
Martin Pool (mbp) wrote :
Revision history for this message
Robert Collins (lifeless) wrote :

This may need a small bit of bzr using code, but thats pretty shallow and #bzr can help sort it out pretty quickly.

summary: - empty/useless diff shown for merged proposals
+ empty diff shown for some merged proposals
tags: added: easy
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.