~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisionspec.py

  • Committer: Aaron Bentley
  • Date: 2008-04-27 22:29:48 UTC
  • mfrom: (3382 +trunk)
  • mto: (3380.3.1 cleanup)
  • mto: This revision was merged to the branch mainline in revision 3392.
  • Revision ID: aaron@aaronbentley.com-20080427222948-hd5kcqx6157xq5on
Merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
771
771
        other_branch = Branch.open(self.spec)
772
772
        last_revision = other_branch.last_revision()
773
773
        last_revision = revision.ensure_null(last_revision)
 
774
        context_branch.fetch(other_branch, last_revision)
774
775
        if last_revision == revision.NULL_REVISION:
775
776
            raise errors.NoCommits(other_branch)
776
777
        return last_revision