Module b.missing

Part of bzrlib

Display what revisions are missing in 'other' from 'this' and vice versa.
Line # Kind Name Docs
27 Function iter_log_revisions Undocumented
55 Function find_unmerged Find revisions from each side that have not been merged.
220 Function sorted_revisions Undocumented
87 Function _enumerate_mainline Enumerate the mainline revisions for these revisions.
124 Function _enumerate_with_merges Enumerate the revisions for the ancestry.
177 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_merges=False, backward=False):
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_mergesShow mainline revisions only if False, all revisions otherwise.
backwardShow oldest versions first when True, newest versions first when False.
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 _find_unmerged(local_branch, remote_branch, restrict, include_merges, backward):
See find_unmerged.

The branches should already be locked before entering.

def sorted_revisions(revisions, history_map):
Undocumented
API Documentation for BzrLib, generated by pydoctor at 2008-12-03 00:00:12.