[vcs-log] remove vcs.log.bek.sort property

This commit is contained in:
Julia Beliaeva
2016-04-15 19:40:42 +03:00
parent 7d8430ffd2
commit f8ca82ba3c
2 changed files with 1 additions and 7 deletions
@@ -256,7 +256,6 @@ compiler.build.data.unused.threshold.description=If project is not opened for th
vcs.show.colored.annotations=true
vcs.annotations.preload=false
vcs.showConsole=true
vcs.log.bek.sort=true
vcs.log.bek.sort.disabled=false
vcs.log.linear.bek.sort=false
vcs.log.square.labels=false
@@ -19,12 +19,7 @@ import com.intellij.openapi.util.registry.Registry;
public class BekUtil {
public static boolean isBekEnabled() { // todo drop later
if (Registry.is("vcs.log.bek.sort.disabled")) {
return false;
}
boolean isInternal = Boolean.valueOf(System.getProperty("idea.is.internal"));
boolean isBekEnabled = Registry.is("vcs.log.bek.sort");
return isBekEnabled || isInternal;
return !Registry.is("vcs.log.bek.sort.disabled");
}
public static boolean isLinearBekEnabled() {