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