IDEA-78234 Subversion: ChangesDetails: confusing error message shown when the top-most versioned folder is changed

This commit is contained in:
irengrig
2011-12-21 13:43:58 +04:00
parent 075d0a647e
commit 3ddf75409b
@@ -106,6 +106,8 @@ public class VcsChangeDetailsManager {
@Override
public boolean canComment(Change change) {
FilePath path = ChangesUtil.getFilePath(change);
if (path != null && path.isDirectory()) return false;
return ShowDiffAction.isBinaryChangeAndCanShow(myProject, change);
}