l.c.b.b.BranchMergeProposalRevisionIdMixin : class documentation

Part of lp.code.browser.branchmergeproposal View In Hierarchy

Known subclasses: lp.code.browser.branchmergeproposal.BranchMergeProposalView, lp.code.browser.branchmergeproposal.MergeProposalEditView

A mixin class to provide access to the revision ids.
Method reviewed_revision_number Return the number of the reviewed revision.
Method _getRevisionNumberForRevisionId Find the revision number that corresponds to the revision id.
def _getRevisionNumberForRevisionId(self, revision_id):
Find the revision number that corresponds to the revision id.

If there was no last reviewed revision, None is returned.

If the reviewed revision is no longer in the revision history of the source branch, then a message is returned.

@cachedproperty
def reviewed_revision_number(self):
Return the number of the reviewed revision.
API Documentation for Launchpad, generated by pydoctor at 2020-09-24 00:00:06.