~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Andrew Bennetts
  • Date: 2009-10-26 06:44:40 UTC
  • mfrom: (4634.77.9 2.0)
  • mto: This revision was merged to the branch mainline in revision 4770.
  • Revision ID: andrew.bennetts@canonical.com-20091026064440-06u7tpg7l6sjkh8h
Merge lp:bzr/2.0 into lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1710
1710
            # There were index entries buffered at the end of the stream,
1711
1711
            # So these need to be added (if the index supports holding such
1712
1712
            # entries for later insertion)
 
1713
            all_entries = []
1713
1714
            for key in buffered_index_entries:
1714
1715
                index_entries = buffered_index_entries[key]
1715
 
                self._index.add_records(index_entries,
1716
 
                    missing_compression_parents=True)
 
1716
                all_entries.extend(index_entries)
 
1717
            self._index.add_records(
 
1718
                all_entries, missing_compression_parents=True)
1717
1719
 
1718
1720
    def get_missing_compression_parent_keys(self):
1719
1721
        """Return an iterable of keys of missing compression parents.