Part of bzrlib
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 |
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.
Parameters | to_file | A file-like object where the output is displayed. |
delta | A TreeDelta containing the changes to be displayed | |
short_status | Single-line status if True. | |
show_ids | Output the file ids if True. | |
show_unchanged | Output the unchanged files if True. | |
indent | Added at the beginning of all output lines (for merged revisions). | |
filter | A callable receiving a path and a file id and returning True if the path should be displayed. | |
classify | Add special symbols to indicate file kind. |