b.missing : module documentation

Part of bzrlib

Display what revisions are missing in 'other' from 'this' and vice versa.
Function iter_log_revisions Undocumented
Function find_unmerged Find revisions from each side that have not been merged.
Function sorted_revisions Undocumented
Function _enumerate_mainline Enumerate the mainline revisions for these revisions.
Function _enumerate_with_merges Enumerate the revisions for the ancestry.
Function _filter_revs Undocumented
Function _find_unmerged See find_unmerged.
def iter_log_revisions(revisions, revision_source, verbose):
Undocumented
def find_unmerged(local_branch, remote_branch, restrict='all', include_merged=None, backward=False, local_revid_range=None, remote_revid_range=None, include_merges=symbol_versioning.DEPRECATED_PARAMETER):
Find revisions from each side that have not been merged.
Parameterslocal_branchCompare the history of local_branch
remote_branchversus the history of remote_branch, and determine mainline revisions which have not been merged.
restrict('all', 'local', 'remote') If 'all', we will return the unique revisions from both sides. If 'local', we will return None for the remote revisions, similarly if 'remote' we will return None for the local revisions.
include_mergedShow mainline revisions only if False, all revisions otherwise.
backwardShow oldest versions first when True, newest versions first when False.
local_revid_rangeRevision-id range for filtering local_branch revisions (lower bound, upper bound)
remote_revid_rangeRevision-id range for filtering remote_branch revisions (lower bound, upper bound)
include_mergesDeprecated historical alias for include_merged
ReturnsA list of [(revno, revision_id)] for the mainline revisions on each side.
def _enumerate_mainline(ancestry, graph, tip_revno, tip, backward=True):
Enumerate the mainline revisions for these revisions.
ParametersancestryA set of revisions that we care about
graphA Graph which lets us find the parents for a revision
tip_revnoThe revision number for the tip revision
tipThe tip of mainline
backwardShow oldest versions first when True, newest versions first when False.
Returns[(revno, revision_id)] for all revisions in ancestry that are left-hand parents from tip, or None if ancestry is None.
def _enumerate_with_merges(branch, ancestry, graph, tip_revno, tip, backward=True):
Enumerate the revisions for the ancestry.
ParametersbranchThe branch we care about
ancestryA set of revisions that we care about
graphA Graph which lets us find the parents for a revision
tip_revnoThe revision number for the tip revision
tipThe tip of the ancsetry
backwardShow oldest versions first when True, newest versions first when False.
Returns[(revno, revision_id)] for all revisions in ancestry that are parents from tip, or None if ancestry is None.
def _filter_revs(graph, revs, revid_range):
Undocumented
def _find_unmerged(local_branch, remote_branch, restrict, include_merged, backward, local_revid_range=None, remote_revid_range=None):
See find_unmerged.

The branches should already be locked before entering.

def sorted_revisions(revisions, history_map):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.