use of org.jetbrains.idea.svn.checkin.CommitInfo in project intellij-community by JetBrains.
the class BaseSvnFileAnnotation method getToolTip.
public String getToolTip(final int lineNumber) {
final CommitInfo info = myInfos.getOrNull(lineNumber);
if (info == null)
return "";
SvnFileRevision revision = myRevisionMap.get(info.getRevision());
if (revision != null) {
String prefix = myInfos.getAnnotationSource(lineNumber).showMerged() ? "Merge source revision" : "Revision";
return prefix + " " + info.getRevision() + ": " + revision.getCommitMessage();
}
return "";
}
Aggregations