~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: John Arbash Meinel
  • Date: 2009-10-20 19:46:46 UTC
  • mfrom: (4759 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4771.
  • Revision ID: john@arbash-meinel.com-20091020194646-wnqpd15qs19y28z7
Merge bzr.dev 4759, bringing in static_tuple and streaming improvements.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1105
1105
        for stream_info in self._fetch_revision_texts(revision_ids):
1106
1106
            yield stream_info
1107
1107
        self._revision_keys = [(rev_id,) for rev_id in revision_ids]
 
1108
        self.from_repository.revisions.clear_cache()
 
1109
        self.from_repository.signatures.clear_cache()
1108
1110
        yield self._get_inventory_stream(self._revision_keys)
 
1111
        self.from_repository.inventories.clear_cache()
1109
1112
        # TODO: The keys to exclude might be part of the search recipe
1110
1113
        # For now, exclude all parents that are at the edge of ancestry, for
1111
1114
        # which we have inventories
1114
1117
                        self._revision_keys)
1115
1118
        for stream_info in self._get_filtered_chk_streams(parent_keys):
1116
1119
            yield stream_info
 
1120
        self.from_repository.chk_bytes.clear_cache()
1117
1121
        yield self._get_text_stream()
 
1122
        self.from_repository.texts.clear_cache()
1118
1123
 
1119
1124
    def get_stream_for_missing_keys(self, missing_keys):
1120
1125
        # missing keys can only occur when we are byte copying and not