~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Martin Pool
  • Date: 2008-05-08 04:33:38 UTC
  • mfrom: (3414 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3415.
  • Revision ID: mbp@sourcefrog.net-20080508043338-ru3vflx8z641a76k
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
767
767
        other_branch = Branch.open(self.spec)
768
768
        last_revision = other_branch.last_revision()
769
769
        last_revision = revision.ensure_null(last_revision)
 
770
        context_branch.fetch(other_branch, last_revision)
770
771
        if last_revision == revision.NULL_REVISION:
771
772
            raise errors.NoCommits(other_branch)
772
773
        return last_revision