Merge lp://staging/~pauljnixon/loggerhead/context_in_diffs into lp://staging/loggerhead
Proposed by
Paul Nixon
Status: | Merged |
---|---|
Merged at revision: | 482 |
Proposed branch: | lp://staging/~pauljnixon/loggerhead/context_in_diffs |
Merge into: | lp://staging/loggerhead |
Diff against target: |
180 lines (+54/-14) 4 files modified
loggerhead/controllers/diff_ui.py (+19/-6) loggerhead/controllers/filediff_ui.py (+8/-3) loggerhead/static/javascript/diff.js (+24/-3) loggerhead/templates/revision.pt (+3/-2) |
To merge this branch: | bzr merge lp://staging/~pauljnixon/loggerhead/context_in_diffs |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Benji York (community) | code | Approve | |
Review via email: mp+118761@code.staging.launchpad.net |
This proposal supersedes a proposal from 2012-07-27.
Description of the change
Adds code to the "revision" page to configure the lines of context
shown in the diffs on that page.
Dependent on lp:~pauljnixon/bzr/context_in_diffs
(merged into lp:bzr as of July 28).
This has been changed to be backwards-
To post a comment you must log in.
Am I reading the new code correctly in that any pre-existing links (in
the previous format) will generate different results than they did
before this change? If so, that seems unfortunate.
How about making the number of lines of context an optional parameter
instead, like so:
/diff/ <rev_id> /<rev_id> ?context= <context_ lines>
This arrangement seems to better reflect the semantics of the situation
as well as both allowing old links continue to work and permit the
number of lines of context to be optional.