/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-06-02 06:03:07 UTC
  • mfrom: (7309.1.1 merge-3.0)
  • Revision ID: breezy.the.bot@gmail.com-20190602060307-k1s62fxuqo4gtgkg
Merge the 3.0 branch.

Merged from https://code.launchpad.net/~jelmer/brz/merge-3.0/+merge/368233

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: