/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: John Arbash Meinel
  • Date: 2007-11-30 22:17:05 UTC
  • mfrom: (3060 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3061.
  • Revision ID: john@arbash-meinel.com-20071130221705-2hd3uhtht0gay0jq
[merge] bzr.dev 3060

Show diffs side-by-side

added added

removed removed

Lines of Context:
1332
1332
 
1333
1333
 
1334
1334
class KnitDataStreamIncompatible(KnitError):
 
1335
    # Not raised anymore, as we can convert data streams.  In future we may
 
1336
    # need it again for more exotic cases, so we're keeping it around for now.
1335
1337
 
1336
1338
    _fmt = "Cannot insert knit data stream of format \"%(stream_format)s\" into knit of format \"%(target_format)s\"."
1337
1339
 
1340
1342
        self.target_format = target_format
1341
1343
        
1342
1344
 
 
1345
class KnitDataStreamUnknown(KnitError):
 
1346
    # Indicates a data stream we don't know how to handle.
 
1347
 
 
1348
    _fmt = "Cannot parse knit data stream of format \"%(stream_format)s\"."
 
1349
 
 
1350
    def __init__(self, stream_format):
 
1351
        self.stream_format = stream_format
 
1352
        
 
1353
 
1343
1354
class KnitHeaderError(KnitError):
1344
1355
 
1345
1356
    _fmt = 'Knit header error: %(badline)r unexpected for file "%(filename)s".'