Part of bzrlib.bundle.serializer.v08 View In Hierarchy
Known subclasses: bzrlib.bundle.serializer.v09.BundleReaderV09
Method | __init__ | Read in the bundle from the file. |
Method | _get_info | Undocumented |
Method | _read | Undocumented |
Method | _validate | Make sure that the information read in makes sense |
Method | _next | yield the next line, but secretly |
Method | _read_revision_header | Undocumented |
Method | _read_next_entry | Read in a key-value pair |
Method | _handle_next | Undocumented |
Method | _read_many | If a line ends with no entry, that means that it should be |
Method | _read_one_patch | Read in one patch, return the complete patch, along with |
Method | _read_patches | Undocumented |
Method | _read_footer | Read the rest of the meta information. |
Parameters | from_file | A file-like object (must have iterator support). |
This detects the end of the list, because it will be a line that does not start properly indented.