Merge lp://staging/~pauljnixon/loggerhead/context_in_diffs into lp://staging/loggerhead
Proposed by
Paul Nixon
Status: | Superseded |
---|---|
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 |
---|---|---|---|
Loggerhead Reviewers | Pending | ||
Review via email: mp+117102@code.staging.launchpad.net |
This proposal has been superseded by a proposal from 2012-08-08.
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).
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.