void (@NotNull AnActionEvent e) { final RepositoryTreeNode node = getSelectedNode(); if (node == null) { return; } boolean isDirectory = node.getUserObject() instanceof Url || (node.getSVNDirEntry() != null && node.getSVNDirEntry().isDirectory()); String url = node.getURL().toDecodedString(); AbstractVcsHelper.getInstance(myProject) .showFileHistory(myVCS.getVcsHistoryProvider(), VcsUtil.getFilePathOnNonLocal(url, isDirectory), myVCS); node.reload(false); }