364
364
return ('FileExists', err.path)
365
365
elif isinstance(err, errors.DirectoryNotEmpty):
366
366
return ('DirectoryNotEmpty', err.path)
368
return ('IncompatibleRepositories', str(err.source), str(err.target),
367
370
elif isinstance(err, errors.ShortReadvError):
368
371
return ('ShortReadvError', err.path, str(err.offset), str(err.length),