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