use of org.jetbrains.idea.svn.api.ClientFactory in project intellij-community by JetBrains.
the class SvnDiffFromHistoryHandler method executeDiff.
@NotNull
private List<Change> executeDiff(@NotNull FilePath path, @NotNull SvnTarget target1, @NotNull SvnTarget target2) throws VcsException {
File file = path.getIOFile();
ClientFactory factory = target2.isURL() ? myVcs.getFactory(file) : DirectoryWithBranchComparer.getClientFactory(myVcs, file);
return factory.createDiffClient().compare(target1, target2);
}
Aggregations