[MERGE] Implement rich-root-pack format (#164639)

Vincent Ladeuil v.ladeuil+lp at free.fr
Mon Nov 26 11:28:50 GMT 2007


>>>>> "aaron" == Aaron Bentley <aaron.bentley at utoronto.ca> writes:

    aaron> Hi all,
    aaron> Following up on the rich-root format, this patch implements a packs
    aaron> variant called rich-root-pack.

    aaron> Aaron

<snip/>
    aaron> +class RepositoryFormatKnitPack4(RepositoryFormatPack):
    aaron> +    """A rich-root, no subtrees parameterised Pack repository.
    aaron> +
    aaron> +    This repository format uses the xml7 serializer to get:
    aaron> +     - support for recording full info about the tree root
    aaron> +     - support for recording tree-references
    aaron> +
    aaron> +    This format was introduced in 0.92.
    aaron> +    """
    aaron> +
    aaron> +    repository_class = KnitPackRepository
    aaron> +    _commit_builder_class = PackRootCommitBuilder
    aaron> +    rich_root_data = True
    aaron> +    supports_tree_reference = False
    aaron> +    _serializer = xml6.serializer_v6

You said "This repository format uses the xml7 serializer" in the
doc string.

    Vincent



More information about the bazaar mailing list