~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

(spiv) Make better use of smart server when a local repository is stacked on
 a remote repository. (Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1269
1269
                        self._revision_keys)
1270
1270
        self.from_repository.revisions.clear_cache()
1271
1271
        self.from_repository.signatures.clear_cache()
 
1272
        # Clear the repo's get_parent_map cache too.
 
1273
        self.from_repository._unstacked_provider.disable_cache()
 
1274
        self.from_repository._unstacked_provider.enable_cache()
1272
1275
        s = self._get_inventory_stream(self._revision_keys)
1273
1276
        yield (s[0], wrap_and_count(pb, rc, s[1]))
1274
1277
        self.from_repository.inventories.clear_cache()