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