~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-07-30 01:29:45 UTC
  • mfrom: (3590.2.1 bzr.ab.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080730012945-o1jetsqxklmxzgt2
Fetch into stacked branches works correctly (abentley, jml)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2751
2751
    @needs_write_lock
2752
2752
    def fetch(self, revision_id=None, pb=None, find_ghosts=False):
2753
2753
        """See InterRepository.fetch()."""
2754
 
        if len(self.source._fallback_repositories) > 0:
 
2754
        if (len(self.source._fallback_repositories) > 0 or
 
2755
            len(self.target._fallback_repositories) > 0):
2755
2756
            from bzrlib.fetch import RepoFetcher
2756
2757
            fetcher = RepoFetcher(self.target, self.source, revision_id,
2757
2758
                                      pb, find_ghosts)