diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogDataHolder.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogDataHolder.java index 5bd5b80ecc89..efb86428d699 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogDataHolder.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogDataHolder.java @@ -98,8 +98,7 @@ public class VcsLogDataHolder implements Disposable, VcsLogDataProvider { myContainingBranchesGetter = new ContainingBranchesGetter(this, this); myFilterer = new VcsLogFiltererImpl(myProject, myLogProviders, myHashMap, myTopCommitsDetailsCache, myDetailsGetter, - uiProperties.isBek() ? (uiProperties.isLinearBek() ? PermanentGraph.SortType.LinearBek : PermanentGraph.SortType.Bek) : PermanentGraph.SortType.Normal, - visiblePackConsumer); + PermanentGraph.SortType.values()[uiProperties.getBekSortType()], visiblePackConsumer); myDataPackUpdateHandler = new Consumer() { @Override @@ -108,15 +107,16 @@ public class VcsLogDataHolder implements Disposable, VcsLogDataProvider { } }; - myRefresher = new VcsLogRefresherImpl(myProject, myHashMap, myLogProviders, myUserRegistry, myTopCommitsDetailsCache, - myDataPackUpdateHandler, new Consumer() { - @Override - public void consume(Exception e) { - if (!(e instanceof ProcessCanceledException)) { - LOG.error(e); - } - } - }, mySettings.getRecentCommitsCount()); + myRefresher = + new VcsLogRefresherImpl(myProject, myHashMap, myLogProviders, myUserRegistry, myTopCommitsDetailsCache, myDataPackUpdateHandler, + new Consumer() { + @Override + public void consume(Exception e) { + if (!(e instanceof ProcessCanceledException)) { + LOG.error(e); + } + } + }, mySettings.getRecentCommitsCount()); } @NotNull diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogUiProperties.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogUiProperties.java index 3ed651b94e04..830913e548d6 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogUiProperties.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/VcsLogUiProperties.java @@ -45,8 +45,7 @@ public class VcsLogUiProperties implements PersistentStateComponent RECENTLY_FILTERED_USER_GROUPS = new ArrayDeque(); public Deque RECENTLY_FILTERED_BRANCH_GROUPS = new ArrayDeque(); @@ -123,20 +122,12 @@ public class VcsLogUiProperties implements PersistentStateComponent