~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Robert Collins
  • Date: 2006-02-21 11:42:36 UTC
  • mfrom: (1534.1.36 inter-repo-api)
  • mto: This revision was merged to the branch mainline in revision 1560.
  • Revision ID: robertc@robertcollins.net-20060221114236-0deb1948f0c8c956
Merge in InterRepository API support.

Show diffs side-by-side

added added

removed removed

Lines of Context:
339
339
 
340
340
    def _match_on(self, branch, revs):
341
341
        from branch import Branch
342
 
        from fetch import greedy_fetch
343
342
        other_branch = Branch.open_containing(self.spec)[0]
344
343
        revision_b = other_branch.last_revision()
345
344
        if revision_b is None:
346
345
            raise NoCommits(other_branch)
347
346
        # pull in the remote revisions so we can diff
348
 
        greedy_fetch(branch, other_branch, revision=revision_b)
 
347
        branch.fetch(other_branch, revision_b)
349
348
        try:
350
349
            revno = branch.revision_id_to_revno(revision_b)
351
350
        except NoSuchRevision: