~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: 2009-08-13 02:50:05 UTC
  • mfrom: (4600.1.1 remote-source-upcall)
  • Revision ID: pqm@pqm.ubuntu.com-20090813025005-k2k8pa2o38b8m0l8
(robertc) Fix reading from CHK repositories over the (deprecated)
        bzr-v2 protocol. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1758
1758
        """
1759
1759
        source = repo._get_source(self.to_format)
1760
1760
        if isinstance(source, RemoteStreamSource):
1761
 
            return repository.StreamSource.get_stream(source, search)
 
1761
            repo._ensure_real()
 
1762
            source = repo._real_repository._get_source(self.to_format)
1762
1763
        return source.get_stream(search)
1763
1764
 
1764
1765
    def _get_stream(self, repo, search):