/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

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
1004
1004
        self.format = format
1005
1005
 
1006
1006
 
 
1007
class BadConversionTarget(BzrNewError):
 
1008
    """Cannot convert to format %(format)s.  %(problem)s"""
 
1009
 
 
1010
    def __init__(self, problem, format):
 
1011
        BzrNewError.__init__(self)
 
1012
        self.problem = problem
 
1013
        self.format = format
 
1014
 
 
1015
 
1007
1016
class NoDiff(BzrNewError):
1008
1017
    """Diff is not installed on this machine: %(msg)s"""
1009
1018
 
1162
1171
        BzrNewError.__init__(self)
1163
1172
 
1164
1173
 
 
1174
class BadInventoryFormat(BzrNewError):
 
1175
    """Root class for inventory serialization errors"""
 
1176
 
 
1177
 
 
1178
class UnexpectedInventoryFormat(BadInventoryFormat):
 
1179
    """The inventory was not in the expected format:\n %(msg)s"""
 
1180
 
 
1181
    def __init__(self, msg):
 
1182
        BadInventoryFormat.__init__(self, msg=msg)
 
1183
 
 
1184
 
1165
1185
class UnknownSSH(BzrNewError):
1166
1186
    """Unrecognised value for BZR_SSH environment variable: %(vendor)s"""
1167
1187