Part of lp.code.browser.branchmergeproposal View In Hierarchy
Known subclasses: lp.code.browser.branchmergeproposal.BranchMergeProposalView, lp.code.browser.branchmergeproposal.FormatPreviewDiffView
Method | diff_available | Is the preview diff available from the librarian? |
Method | preview_diff_text | Return a (hopefully) intelligently encoded review diff. |
Method | diff_oversized | Return True if the preview_diff is over the configured size limit. |
The diff can be over the limit in two ways. If the diff is oversized in bytes it will be cut off at the Diff.text method. If the number of lines is over the max_format_lines, then it is cut off at the fmt:diff processing.