/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/log.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:
200
200
    if isinstance(start_revision, int):
201
201
        try:
202
202
            start_revision = revisionspec.RevisionInfo(branch, start_revision)
203
 
        except errors.NoSuchRevision:
 
203
        except (errors.NoSuchRevision, errors.RevnoOutOfBounds):
204
204
            raise errors.InvalidRevisionNumber(start_revision)
205
205
 
206
206
    if isinstance(end_revision, int):
207
207
        try:
208
208
            end_revision = revisionspec.RevisionInfo(branch, end_revision)
209
 
        except errors.NoSuchRevision:
 
209
        except (errors.NoSuchRevision, errors.RevnoOutOfBounds):
210
210
            raise errors.InvalidRevisionNumber(end_revision)
211
211
 
212
212
    if end_revision is not None and end_revision.revno == 0: