diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java index 2ce7c14dbefb..868c123e34f0 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/history/FileHistoryPanelImpl.java @@ -519,7 +519,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme html.append("

"); } if (addRevisionInfo) { - String revisionInfo = getRevisionInfo(revision); + String revisionInfo = getRevisionInfo(revision.getRevision()); html.append("") .append(getHtmlWithFonts(revisionInfo)).append("
"); original.append(revisionInfo).append("\n"); @@ -1123,6 +1123,7 @@ public class FileHistoryPanelImpl extends PanelWithActionsAndCloseButton impleme } } + // TODO this class should not implements VcsFileRevision (this is too confusing) static class TreeNodeOnVcsRevision extends DefaultMutableTreeNode implements VcsFileRevision, DualTreeElement { private final VcsFileRevision myRevision;