~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

(jam) Bug #388269,
        avoid searching for missing history in the stacked branch by exposing
        the cache available in the stacked-on branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1685
1685
        self._ensure_real()
1686
1686
        return self._real_repository.iter_files_bytes(desired_files)
1687
1687
 
 
1688
    def get_cached_parent_map(self, revision_ids):
 
1689
        """See bzrlib.CachingParentsProvider.get_cached_parent_map"""
 
1690
        return self._unstacked_provider.get_cached_parent_map(revision_ids)
 
1691
 
1688
1692
    def get_parent_map(self, revision_ids):
1689
1693
        """See bzrlib.Graph.get_parent_map()."""
1690
1694
        return self._make_parents_provider().get_parent_map(revision_ids)