/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/fetch.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-29 07:08:54 UTC
  • mfrom: (4574 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4608.
  • Revision ID: andrew.bennetts@canonical.com-20090729070854-0qffj6hybc66b6fs
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
                symbol_versioning.deprecated_in((1, 14, 0))
65
65
                % "pb parameter to RepoFetcher.__init__")
66
66
            # and for simplicity it is in fact ignored
67
 
        if to_repository.has_same_location(from_repository):
68
 
            # repository.fetch should be taking care of this case.
69
 
            raise errors.BzrError('RepoFetcher run '
70
 
                    'between two objects at the same location: '
71
 
                    '%r and %r' % (to_repository, from_repository))
 
67
        # repository.fetch has the responsibility for short-circuiting
 
68
        # attempts to copy between a repository and itself.
72
69
        self.to_repository = to_repository
73
70
        self.from_repository = from_repository
74
71
        self.sink = to_repository._get_sink()