1075
1075
"""Not a bzr revision-bundle: %(text)r"""
1077
1077
def __init__(self, text):
1081
class BadBundle(Exception): pass
1084
class MalformedHeader(BadBundle): pass
1087
class MalformedPatches(BadBundle): pass
1090
class MalformedFooter(BadBundle): pass
1078
BzrNewError.__init__(self)
1082
class BadBundle(BzrNewError):
1083
"""Bad bzr revision-bundle: %(text)r"""
1085
def __init__(self, text):
1086
BzrNewError.__init__(self)
1090
class MalformedHeader(BadBundle):
1091
"""Malformed bzr revision-bundle header: %(text)r"""
1093
def __init__(self, text):
1094
BzrNewError.__init__(self)
1098
class MalformedPatches(BadBundle):
1099
"""Malformed patches in bzr revision-bundle: %(text)r"""
1101
def __init__(self, text):
1102
BzrNewError.__init__(self)
1106
class MalformedFooter(BadBundle):
1107
"""Malformed footer in bzr revision-bundle: %(text)r"""
1109
def __init__(self, text):
1110
BzrNewError.__init__(self)
1113
class UnsupportedEOLMarker(BadBundle):
1114
"""End of line marker was not \\n in bzr revision-bundle"""
1117
BzrNewError.__init__(self)