Merge remote-tracking branch 'origin/optimize-tree'

This commit is contained in:
zadam
2020-12-10 22:54:16 +01:00
17 changed files with 208 additions and 105 deletions

View File

@@ -651,7 +651,7 @@ class ConsistencyChecks {
// root branch should always be expanded
sql.execute("UPDATE branches SET isExpanded = 1 WHERE branchId = 'root'");
if (this.unrecoveredConsistencyErrors) {
if (!this.unrecoveredConsistencyErrors) {
// we run this only if basic checks passed since this assumes basic data consistency
this.checkTreeCycles();