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