/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 bzrlib/errors.py

  • Committer: Marius Kruger
  • Date: 2007-01-18 04:11:51 UTC
  • mfrom: (2240 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2241.
  • Revision ID: amanic@gmail.com-20070118041151-m5kjsutaymhy8yoy
merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
200
200
        self.revision_id = revision_id
201
201
        self.branch = branch
202
202
 
 
203
class ReservedId(BzrError):
 
204
 
 
205
    _fmt = "Reserved revision-id {%(revision_id)s}"
 
206
 
 
207
    def __init__(self, revision_id):
 
208
        self.revision_id = revision_id
203
209
 
204
210
class NoSuchId(BzrError):
205
211
 
289
295
 
290
296
    _fmt = "Error in command line options"
291
297
 
 
298
 
 
299
class BadOptionValue(BzrError):
 
300
 
 
301
    _fmt = """Bad value "%(value)s" for option "%(name)s"."""
 
302
 
 
303
    def __init__(self, name, value):
 
304
        BzrError.__init__(self, name=name, value=value)
 
305
 
292
306
    
293
307
class StrictCommitFailed(BzrError):
294
308