~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Andrew Bennetts
  • Date: 2007-04-17 09:01:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2435.
  • Revision ID: andrew.bennetts@canonical.com-20070417090153-a7apw9czzedpt4nk
Deal with various review comments from Robert.

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
        # result variables.
93
93
        self.failed_revisions = []
94
94
        self.count_copied = 0
95
 
        if isinstance(to_repository, RemoteRepository):
96
 
            to_repository._ensure_real()
97
 
            to_repository = to_repository._real_repository
98
 
        if isinstance(from_repository, RemoteRepository):
99
 
            from_repository._ensure_real()
100
 
            from_repository = from_repository._real_repository
101
95
        if to_repository.control_files._transport.base == from_repository.control_files._transport.base:
102
96
            # check that last_revision is in 'from' and then return a no-operation.
103
97
            if last_revision not in (None, NULL_REVISION):