Part of bzrlib
| Line # | Kind | Name | Docs |
|---|---|---|---|
| 38 | Function | show_tree_status | Display summary of changes. |
| 176 | Function | show_pending_merges | Write out a display of pending merges in a working tree. |
| 150 | Function | _get_sorted_revisions | Get an iterator which will return the revisions in merge sorted order. |
By default this compares the working tree to a previous revision. If the revision argument is given, summarizes changes between the working tree and another, or between two revisions.
The result is written out as Unicode and to_file should be able to encode that.
If showing the status of a working tree, extra information is included about unknown files, conflicts, and pending merges.
| Parameters | show_unchanged | Deprecated parameter. If set, includes unchanged files. |
| specific_files | If set, a list of filenames whose status should be shown. It is an error to give a filename that is not in the working tree, or in the working inventory or in the basis inventory. | |
| show_ids | If set, includes each file's id. | |
| to_file | If set, write to this file (default stdout.) | |
| show_pending | If set, write pending merges. | |
| revision | If None, compare latest revision with working tree If not None, it must be a RevisionSpec list. If one revision, compare with working tree. If two revisions, show status between first and second. | |
| short | If True, gives short SVN-style status lines. | |
| versioned | If True, only shows versioned files. |
This will build up a list of all nodes, such that only nodes in the list are referenced. It then uses MergeSorter to return them in 'merge-sorted' order.
| Parameters | revision_ids | A set of revision_ids |
| parent_map | The parent information for each node. Revisions which are considered ghosts should not be present in the map. | |
| Returns | iterator from MergeSorter.iter_topo_order() | |