Part of bzrlib
| 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. |
| Parameters | local_branch | Compare the history of local_branch |
| remote_branch | versus 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_merges | Show mainline revisions only if False, all revisions otherwise. | |
| backward | Show oldest versions first when True, newest versions first when False. | |
| Returns | A list of [(revno, revision_id)] for the mainline revisions on each side. | |
| Parameters | ancestry | A set of revisions that we care about |
| graph | A Graph which lets us find the parents for a revision | |
| tip_revno | The revision number for the tip revision | |
| tip | The tip of mainline | |
| backward | Show 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. | |
| Parameters | branch | The branch we care about |
| ancestry | A set of revisions that we care about | |
| graph | A Graph which lets us find the parents for a revision | |
| tip_revno | The revision number for the tip revision | |
| tip | The tip of the ancsetry | |
| backward | Show 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. | |