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