Collection<FilePath> (@NotNull VirtualFile repo, @Nullable Collection<FilePath> paths) { Collection<FilePath> resultFiles = new HashSet<>(); Set<HgChange> change = executeInCurrentThread(repo, paths); for (HgChange hgChange : change) { FilePath file = hgChange.afterFile().toFilePath(); resultFiles.add(file); } return resultFiles; }