/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/versionedfile.py

  • Committer: Robert Collins
  • Date: 2009-02-20 08:40:02 UTC
  • mfrom: (4025 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4026.
  • Revision ID: robertc@robertcollins.net-20090220084002-e49vh0sxlkxhzt2m
Resolve NEWS conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
926
926
 
927
927
    has_key = index._has_key_from_parent_map
928
928
 
 
929
    def get_missing_compression_parent_keys(self):
 
930
        """Return an iterable of keys of missing compression parents.
 
931
 
 
932
        Check this after calling insert_record_stream to find out if there are
 
933
        any missing compression parents.  If there are, the records that
 
934
        depend on them are not able to be inserted safely. The precise
 
935
        behaviour depends on the concrete VersionedFiles class in use.
 
936
 
 
937
        Classes that do not support this will raise NotImplementedError.
 
938
        """
 
939
        raise NotImplementedError(self.get_missing_compression_parent_keys)
 
940
 
929
941
    def insert_record_stream(self, stream):
930
942
        """Insert a record stream into this container.
931
943