~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

KnitVersionedFiles.add_fallback_versioned_files exists.

Show diffs side-by-side

added added

removed removed

Lines of Context:
725
725
            self._factory = KnitAnnotateFactory()
726
726
        else:
727
727
            self._factory = KnitPlainFactory()
 
728
        self._fallback_vfs = []
 
729
 
 
730
    def add_fallback_versioned_files(self, a_versioned_files):
 
731
        """Add a source of texts for texts not present in this knit.
 
732
 
 
733
        :param a_versioned_files: A VersionedFiles object.
 
734
        """
 
735
        self._fallback_vfs.append(a_versioned_files)
728
736
 
729
737
    def add_lines(self, key, parents, lines, parent_texts=None,
730
738
        left_matching_blocks=None, nostore_sha=None, random_id=False,