if (!(vcs instanceof SvnVcs)) {
Messages.showErrorDialog(project, file.getName() + " is not managed by Subversion", ERROR_DIALOG_TITLE);
return;
}
VcsContextFactory vcsContext = VcsContextFactory.SERVICE.getInstance();
FilePath filePath = vcsContext.createFilePathOn(file);
SVNRevisionGraph.createAndShow(project, filePath);
}