~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: John Arbash Meinel
  • Date: 2006-03-08 14:31:23 UTC
  • mfrom: (1598 +trunk)
  • mto: (1685.1.1 bzr-encoding)
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: john@arbash-meinel.com-20060308143123-448308b0db4de410
[merge] bzr.dev 1573, lots of updates

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: