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