/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: Canonical.com Patch Queue Manager
  • Date: 2006-12-21 20:43:34 UTC
  • mfrom: (2196.2.5 knit_index_optim)
  • Revision ID: pqm@pqm.ubuntu.com-20061221204334-f206a0f736499cc8
(Dmitry Vasiliev) Optimizations for KnitIndex, and tests to go with it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
952
952
        self.how = how
953
953
 
954
954
 
 
955
class KnitIndexUnknownMethod(KnitError):
 
956
    """Raised when we don't understand the storage method.
 
957
 
 
958
    Currently only 'fulltext' and 'line-delta' are supported.
 
959
    """
 
960
    
 
961
    _fmt = ("Knit index %(filename)s does not have a known method"
 
962
            " in options: %(options)r")
 
963
 
 
964
    def __init__(self, filename, options):
 
965
        KnitError.__init__(self)
 
966
        self.filename = filename
 
967
        self.options = options
 
968
 
 
969
 
955
970
class NoSuchExportFormat(BzrError):
956
971
    
957
972
    _fmt = "Export format %(format)r not supported"