Part of bzrlib.testament View In Hierarchy
Known subclasses: bzrlib.testament.StrictTestament
Reduced summary of a revision.
Testaments can be
- produced from a revision
- written to a stream
- loaded from a stream
- compared to a revision
Class Method | from_revision | Produce a new testament from a historical revision. |
Class Method | from_revision_tree | Produce a new testament from a revision tree. |
Method | __init__ | Create a new testament for rev using tree. |
Method | as_text_lines | Yield text form as a sequence of lines. |
Method | as_text | Undocumented |
Method | as_short_text | Return short digest-based testament. |
Method | as_sha1 | Undocumented |
Method | _get_entries | Undocumented |
Method | _escape_path | Undocumented |
Method | _entry_to_line | Turn an inventory entry into a testament line |
Method | _revprops_to_lines | Pack up revision properties. |
The result is returned in utf-8, because it should be signed or hashed in that encoding.