Part of bzrlib.multiparent View In Hierarchy
Known subclasses: bzrlib.multiparent.MultiMemoryVersionedFile, bzrlib.multiparent.MultiVersionedFile
Method | __init__ | Undocumented |
Method | versions | Undocumented |
Method | has_version | Undocumented |
Method | do_snapshot | Determine whether to perform a snapshot for this version |
Method | add_version | Add a version to the versionedfile |
Method | get_parents | Undocumented |
Method | make_snapshot | Undocumented |
Method | import_versionedfile | Import all revisions of a versionedfile |
Method | select_snapshots | Determine which versions to add as snapshots |
Method | select_by_size | Select snapshots for minimum output size |
Method | get_size_ranking | Get versions ranked by size |
Method | import_diffs | Import the diffs from another pseudo-versionedfile |
Method | get_build_ranking | Return revisions sorted by how much they reduce build complexity |
Method | clear_cache | Undocumented |
Method | get_line_list | Undocumented |
Method | cache_version | Undocumented |
Add a version to the versionedfile :param lines: The list of lines to add. Must be split on ' '. :param version_id: The version_id of the version to add :param force_snapshot: If true, force this version to be added as a snapshot version. If false, force this version to be added as a diff. If none, determine this automatically. :param single_parent: If true, use a single parent, rather than multiple parents.
Parameters | vf | The versionedfile to import |
snapshots | If provided, the revisions to make snapshots of. Otherwise, this will be auto-determined | |
no_cache | If true, clear the cache after every add. | |
single_parent | If true, omit all but one parent text, (but retain parent metadata). |