~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-01-17 17:21:14 UTC
  • mfrom: (2229.2.5 reserved-ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070117172114-dc75493dad46088c
Ensure reserved ids are never stored

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
        self.revision_id = revision_id
200
200
        self.branch = branch
201
201
 
 
202
class ReservedId(BzrError):
 
203
 
 
204
    _fmt = "Reserved revision-id {%(revision_id)s}"
 
205
 
 
206
    def __init__(self, revision_id):
 
207
        self.revision_id = revision_id
202
208
 
203
209
class NoSuchId(BzrError):
204
210