| Class | BazaarFormatEnum | Base class for the format enums. |
| Class | BranchFormat | Branch on-disk format. |
| Class | RepositoryFormat | Repository on-disk format. |
| Class | ControlFormat | Control directory (BzrDir) format. |
| Function | get_branch_formats | Return a tuple of format enumerations for the bazaar branch. |
| Function | branch_changed | Mark a database branch as changed. |
| Function | branch_revision_history | Find the revision history of a branch. |
| Function | get_ancestry | Return a list of revision-ids integrated by a revision. |
| Function | _format_enum | Undocumented |
| Returns | tuple of (ControlFormat, BranchFormat, RepositoryFormat) | |
| Parameters | db_branch | The branch to mark changed. |
| bzr_branch | (optional) The bzr branch to use to mark the branch changed. |
This is a compatibility wrapper for code that still requires access to the full branch mainline and previously used Branch.revision_history(), which is now deprecated.
| Parameters | branch | Branch object |
| Returns | Revision ids on the main branch | |