use of com.intellij.vcs.log.impl.VcsLogFilterCollectionImpl in project intellij-community by JetBrains.
the class HgTextFilterTest method getFilteredCommits.
@NotNull
private List<String> getFilteredCommits(@NotNull HgLogProvider provider, @NotNull VcsLogTextFilterImpl filter) throws VcsException {
VcsLogFilterCollectionImpl filterCollection = new VcsLogFilterCollectionImpl(null, null, null, null, filter, null, null);
List<TimedVcsCommit> commits = provider.getCommitsMatchingFilter(myProject.getBaseDir(), filterCollection, -1);
return ContainerUtil.map(commits, commit -> commit.getId().asString());
}
Aggregations