revs[1] = e.getData(SVNRevisionGraph.CURRENT_REVISION);
} else {
return;
}
Arrays.sort(revs, new Revision.RevisionNumberComparator());
final FileHistoryRetriever historyRetriever = new FileHistoryRetriever(svn, filePath.getVirtualFile());
new Task.Modal(project, "Loading properties from repository", false) {
DiffRequest diffRequest;
@Override
public void run(@NotNull ProgressIndicator indicator) {
try {
indicator.setText("Loading properties for " + revs[0]);
SVNProperties p1 = historyRetriever.getFileProperties(revs[0]);
indicator.setText("Loading properties for " + revs[1]);
SVNProperties p2 = historyRetriever.getFileProperties(revs[1]);
diffRequest = createDiffRequest(project, revs[0], p1, revs[1], p2);
} catch (SVNException e) {
log.error("Error retrieving properties", e);
}
}