Commit 7806806d authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 75cbf7be
...@@ -520,7 +520,11 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid) (δ map[Key]ΔValue, e ...@@ -520,7 +520,11 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid) (δ map[Key]ΔValue, e
δv.New = δv1.New δv.New = δv1.New
} }
δ[k] = δv if δv.Old != δv.New {
δ[k] = δv
} else {
delete(δ, k)
}
} }
/* /*
......
...@@ -520,8 +520,8 @@ func xverifyΔBTail1(t *testing.T, subj string, db *zodb.DB, treeRoot zodb.Oid, ...@@ -520,8 +520,8 @@ func xverifyΔBTail1(t *testing.T, subj string, db *zodb.DB, treeRoot zodb.Oid,
emsg += strings.Join(badv, "\n") emsg += strings.Join(badv, "\n")
emsg += "\n" emsg += "\n"
//t.Error(emsg) t.Error(emsg)
t.Fatal(emsg) //t.Fatal(emsg)
} }
}() }()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment