~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-01 04:38:11 UTC
  • mfrom: (3582.1.16 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080801043811-0jr7eru0frsrso4p
(mbp) add tests for deltas over repository boundaries

Show diffs side-by-side

added added

removed removed

Lines of Context:
2753
2753
        """See InterRepository.fetch()."""
2754
2754
        if (len(self.source._fallback_repositories) > 0 or
2755
2755
            len(self.target._fallback_repositories) > 0):
 
2756
            # The pack layer is not aware of fallback repositories, so when
 
2757
            # fetching from a stacked repository or into a stacked repository
 
2758
            # we use the generic fetch logic which uses the VersionedFiles
 
2759
            # attributes on repository.
2756
2760
            from bzrlib.fetch import RepoFetcher
2757
2761
            fetcher = RepoFetcher(self.target, self.source, revision_id,
2758
 
                                      pb, find_ghosts)
 
2762
                                  pb, find_ghosts)
2759
2763
            return fetcher.count_copied, fetcher.failed_revisions
2760
2764
        from bzrlib.repofmt.pack_repo import Packer
2761
2765
        mutter("Using fetch logic to copy between %s(%s) and %s(%s)",