Merge lp://staging/~twom/loggerhead/anootate-changes-should-exist into lp://staging/loggerhead

Proposed by Tom Wardill
Status: Merged
Merged at revision: 507
Proposed branch: lp://staging/~twom/loggerhead/anootate-changes-should-exist
Merge into: lp://staging/loggerhead
Diff against target: 25 lines (+7/-1)
1 file modified
loggerhead/controllers/annotate_ui.py (+7/-1)
To merge this branch: bzr merge lp://staging/~twom/loggerhead/anootate-changes-should-exist
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+387384@code.staging.launchpad.net

Commit message

Check changes exist before using them.
Based on patch by lp:~pnutzh4x0r

Description of the change

Changes may not exist in the case of 'ghost revisions', but we assume they do. Check that any changes are retrieved and if not, create an object so we can at least render the page.

Based on the patch provided by lp:~pnutzh4x0r in LP: #376586

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches