Merge lp:~jameinel/loggerhead/authors-733015 into lp:loggerhead
Proposed by
John A Meinel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Jelmer Vernooij | ||||
Approved revision: | 437 | ||||
Merged at revision: | 438 | ||||
Proposed branch: | lp:~jameinel/loggerhead/authors-733015 | ||||
Merge into: | lp:loggerhead | ||||
Prerequisite: | lp:~jameinel/loggerhead/simple_mainline | ||||
Diff against target: |
261 lines (+131/-23) 6 files modified
NEWS (+6/-3) loggerhead/history.py (+7/-1) loggerhead/templates/revisioninfo.pt (+4/-0) loggerhead/tests/__init__.py (+1/-0) loggerhead/tests/test_history.py (+78/-19) loggerhead/tests/test_revision_ui.py (+35/-0) |
||||
To merge this branch: | bzr merge lp:~jameinel/loggerhead/authors-733015 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jelmer Vernooij | code | Approve | |
Review via email: mp+53000@code.launchpad.net |
Description of the change
This addresses the issue in bug #733015. When a revision has authors separate from the committer, the UI was only showing the authors as the "Committer". This changes the UI so that it separates the two. So it will now show both Author(s) and Committer.
I didn't try to get too fancy with showing/hiding authors when they match the committer. Or handling the plural form exactly. we could add that later.
On the plus side, this is tested. Both at the 'unittest' History produces the correct Container data, but also at the HTML level. (Partly because I don't know another way to test the templating code.)
To post a comment you must log in.
This only depends loosely on 'simple_mainline'. Because simple_mainline added 'test_history.py' and I didn't want to add another one.