void (List<? extends FilePath> filePaths, List<? super VcsException> exceptions, @NotNull RollbackProgressListener listener) { for (FilePath filePath : filePaths) { listener.accept(filePath); try { revertFileOrDir(filePath); } catch (VcsException e) { exceptions.add(e); } } }