/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/revisionspec.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-02-21 11:51:54 UTC
  • mfrom: (1559.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060221115154-a1b580a4225d536b
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: