Search in sources :

Example 11 with VcsConfiguration

use of com.intellij.openapi.vcs.VcsConfiguration in project intellij-community by JetBrains.

the class SvnHistoryProvider method reportAppendableHistory.

@Override
public void reportAppendableHistory(FilePath path, final VcsAppendableHistorySessionPartner partner) throws VcsException {
    // request MAXIMUM_HISTORY_ROWS + 1 log entries to be able to detect if there are more log entries than it is configured to show -
    // see LimitHistoryCheck
    VcsConfiguration configuration = VcsConfiguration.getInstance(myVcs.getProject());
    int limit = configuration.LIMIT_HISTORY ? configuration.MAXIMUM_HISTORY_ROWS + 1 : 0;
    reportAppendableHistory(path, partner, null, null, limit, null, false);
}
Also used : VcsConfiguration(com.intellij.openapi.vcs.VcsConfiguration)

Aggregations

VcsConfiguration (com.intellij.openapi.vcs.VcsConfiguration)11 VcsShowOptionsSettingImpl (com.intellij.openapi.vcs.VcsShowOptionsSettingImpl)2 VirtualFile (com.intellij.openapi.vfs.VirtualFile)2 NotNull (org.jetbrains.annotations.NotNull)2 OptimizeImportsProcessor (com.intellij.codeInsight.actions.OptimizeImportsProcessor)1 ReformatCodeProcessor (com.intellij.codeInsight.actions.ReformatCodeProcessor)1 ProjectViewImpl (com.intellij.ide.projectView.impl.ProjectViewImpl)1 BooleanOptionDescription (com.intellij.ide.ui.search.BooleanOptionDescription)1 UsageDescriptor (com.intellij.internal.statistic.beans.UsageDescriptor)1 VcsContentAnnotationSettings (com.intellij.openapi.vcs.contentAnnotation.VcsContentAnnotationSettings)1 ReadonlyStatusHandlerImpl (com.intellij.openapi.vcs.readOnlyHandler.ReadonlyStatusHandlerImpl)1 ReadonlyStatusHandler (com.intellij.openapi.vfs.ReadonlyStatusHandler)1 HashSet (com.intellij.util.containers.HashSet)1 GitExecutableValidator (git4idea.config.GitExecutableValidator)1 ArrayList (java.util.ArrayList)1 HashSet (java.util.HashSet)1 Element (org.jdom.Element)1 MavenProjectsManager (org.jetbrains.idea.maven.project.MavenProjectsManager)1