~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/remote.py

  • Committer: Martin Pool
  • Date: 2009-07-10 08:28:35 UTC
  • mto: This revision was merged to the branch mainline in revision 4566.
  • Revision ID: mbp@sourcefrog.net-20090710082835-j66cxs5vf3hji7l1
Split out RepositoryBase.has_same_fallbacks

Show diffs side-by-side

added added

removed removed

Lines of Context:
1238
1238
        # fast path same-url fetch operations
1239
1239
        if (self.has_same_location(source)
1240
1240
            and fetch_spec is None
1241
 
            and ([f._transport.base for f in self._fallback_repositories]
1242
 
                 == [f._transport.base for f in source._fallback_repositories])):
 
1241
            and self.has_same_fallbacks(source)):
1243
1242
            # check that last_revision is in 'from' and then return a
1244
1243
            # no-operation.
1245
1244
            if (revision_id is not None and