~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-29 00:30:54 UTC
  • mfrom: (3565.3.4 btree-graphindex)
  • Revision ID: pqm@pqm.ubuntu.com-20080729003054-v5qw7d5bbn1jtrj5
(robertc) Give repository objects more control over the generic fetch
        process. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
816
816
        self._ensure_real()
817
817
        return self._real_repository.iter_files_bytes(desired_files)
818
818
 
 
819
    @property
 
820
    def _fetch_order(self):
 
821
        """Decorate the real repository for now.
 
822
 
 
823
        In the long term getting this back from the remote repository as part
 
824
        of open would be more efficient.
 
825
        """
 
826
        self._ensure_real()
 
827
        return self._real_repository._fetch_order
 
828
 
 
829
    @property
 
830
    def _fetch_uses_deltas(self):
 
831
        """Decorate the real repository for now.
 
832
 
 
833
        In the long term getting this back from the remote repository as part
 
834
        of open would be more efficient.
 
835
        """
 
836
        self._ensure_real()
 
837
        return self._real_repository._fetch_uses_deltas
 
838
 
 
839
    @property
 
840
    def _fetch_reconcile(self):
 
841
        """Decorate the real repository for now.
 
842
 
 
843
        In the long term getting this back from the remote repository as part
 
844
        of open would be more efficient.
 
845
        """
 
846
        self._ensure_real()
 
847
        return self._real_repository._fetch_reconcile
 
848
 
819
849
    def get_parent_map(self, keys):
820
850
        """See bzrlib.Graph.get_parent_map()."""
821
851
        # Hack to build up the caching logic.