~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/pack_repo.py

  • Committer: Robert Collins
  • Date: 2009-02-20 02:38:28 UTC
  • mto: (4002.1.9 suspend-write-group)
  • mto: This revision was merged to the branch mainline in revision 4025.
  • Revision ID: robertc@robertcollins.net-20090220023828-rcqd2pyw22zqjkwl
Polish on inserting record streams with missing compression parents.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1812
1812
                ('texts', self.repo.texts),
1813
1813
                ('signatures', self.repo.signatures),
1814
1814
                ):
1815
 
            # We use KnitVersionedFiles exclusively so can rely on _index.
1816
 
            missing = versioned_file._index.get_missing_compression_parents()
 
1815
            missing = versioned_file.get_missing_compression_parents()
1817
1816
            all_missing.update([(prefix,) + key for key in missing])
1818
1817
        if all_missing:
1819
1818
            raise errors.BzrCheckError(