mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-78234 Subversion: ChangesDetails: confusing error message shown when the top-most versioned folder is changed
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user