/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 breezy/bzr/branch.py

  • Committer: Jelmer Vernooij
  • Date: 2019-06-03 23:48:08 UTC
  • mfrom: (7316 work)
  • mto: This revision was merged to the branch mainline in revision 7328.
  • Revision ID: jelmer@jelmer.uk-20190603234808-15yk5c7054tj8e2b
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
649
649
        with self.lock_read():
650
650
            last_revno, last_revision_id = self.last_revision_info()
651
651
            if revno <= 0 or revno > last_revno:
652
 
                raise errors.NoSuchRevision(self, revno)
 
652
                raise errors.RevnoOutOfBounds(revno, (0, last_revno))
653
653
 
654
654
            if history is not None:
655
655
                return history[revno - 1]