b.delta : module documentation

Part of bzrlib

No module docstring
Class TreeDelta Describes changes from one tree to another.
Function report_changes Report the changes from a change iterator.
Function report_delta Output this delta in status-like form to to_file.
Function _compare_trees Worker function that implements Tree.changes_from.
Class _ChangeReporter Report changes between two trees
def _compare_trees(old_tree, new_tree, want_unchanged, specific_files, include_root, extra_trees=None, require_versioned=False, want_unversioned=False):
Worker function that implements Tree.changes_from.
def report_changes(change_iterator, reporter):
Report the changes from a change iterator.

This is essentially a translation from low-level to medium-level changes.
Further processing may be required to produce a human-readable output.
Unfortunately, some tree-changing operations are very complex
:change_iterator: an iterator or sequence of changes in the format
    generated by Tree.iter_changes
:param reporter: The _ChangeReporter that will report the changes.
def report_delta(to_file, delta, short_status=False, show_ids=False, show_unchanged=False, indent='', filter=None, classify=True):
Output this delta in status-like form to to_file.
Parametersto_fileA file-like object where the output is displayed.
deltaA TreeDelta containing the changes to be displayed
short_statusSingle-line status if True.
show_idsOutput the file ids if True.
show_unchangedOutput the unchanged files if True.
indentAdded at the beginning of all output lines (for merged revisions).
filterA callable receiving a path and a file id and returning True if the path should be displayed.
classifyAdd special symbols to indicate file kind.
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.