/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/errors.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:
2452
2452
 
2453
2453
    _fmt = ('Cannot store uncommitted changes because this branch already'
2454
2454
            ' stores uncommitted changes.')
 
2455
 
 
2456
 
 
2457
class RevnoOutOfBounds(InternalBzrError):
 
2458
 
 
2459
    _fmt = ("The requested revision number %(revno)d is outside of the "
 
2460
            "expected boundaries (%(minimum)d <= %(maximum)d).")
 
2461
 
 
2462
    def __init__(self, revno, bounds):
 
2463
        InternalBzrError.__init__(
 
2464
            self, revno=revno, minimum=bounds[0], maximum=bounds[1])