43
43
def __init__(self, ref):
46
class LightWeightCheckoutsNotSupported(BzrGitError):
47
_fmt = "bzr-git does not support creating lightweight checkouts at the moment."
50
def convert_dulwich_error(error):
51
"""Convert a Dulwich error to a Bazaar error."""
53
if isinstance(error, git_errors.HangupException):
54
raise bzr_errors.ConnectionReset(error.msg, "")