diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/impl/ContentRevisionCache.java b/platform/vcs-api/src/com/intellij/openapi/vcs/impl/ContentRevisionCache.java index d80778c5c639..b77b52578ea7 100644 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/impl/ContentRevisionCache.java +++ b/platform/vcs-api/src/com/intellij/openapi/vcs/impl/ContentRevisionCache.java @@ -218,7 +218,7 @@ public class ContentRevisionCache { throw new VcsException("Can not show contents of \n'" + path + "'.\nFile size is bigger than " + StringUtil.formatFileSize(VcsUtil.getMaxVcsLoadedFileSize()) + - ".\n\nYou can relax this restriction by increasing max.vcs.loaded.size.kb property in idea.properties file."); + ".\n\nYou can relax this restriction by increasing " + VcsUtil.MAX_VCS_LOADED_SIZE_KB + " property in idea.properties file."); } } diff --git a/platform/vcs-api/src/com/intellij/vcsUtil/VcsUtil.java b/platform/vcs-api/src/com/intellij/vcsUtil/VcsUtil.java index 4a1701f13886..8b50298e34e0 100644 --- a/platform/vcs-api/src/com/intellij/vcsUtil/VcsUtil.java +++ b/platform/vcs-api/src/com/intellij/vcsUtil/VcsUtil.java @@ -55,7 +55,7 @@ public class VcsUtil { protected static final char[] ourCharsToBeChopped = new char[]{'/', '\\'}; private static final Logger LOG = Logger.getInstance("#com.intellij.vcsUtil.VcsUtil"); - private final static String MAX_VCS_LOADED_SIZE_KB = "max.vcs.loaded.size.kb"; + public final static String MAX_VCS_LOADED_SIZE_KB = "idea.max.vcs.loaded.size.kb"; private static final int ourMaxLoadedFileSize = computeLoadedFileSize(); public static int getMaxVcsLoadedFileSize() {