~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/merge.py

  • Committer: Aaron Bentley
  • Date: 2007-08-03 01:46:21 UTC
  • mto: This revision was merged to the branch mainline in revision 2703.
  • Revision ID: aaron.bentley@utoronto.ca-20070803014621-igt3i5fwv3rigvd0
Switch commit and merge to Repository.has_same_location

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
                                                  self.this_branch)
305
305
 
306
306
    def _maybe_fetch(self, source, target, revision_id):
307
 
        if (source.repository.bzrdir.root_transport.base !=
308
 
            target.repository.bzrdir.root_transport.base):
 
307
        if not source.repository.has_same_location(target.repository):
309
308
            target.fetch(source, revision_id)
310
309
 
311
310
    def find_base(self):