Commit d6f15415 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 9694761d
...@@ -915,7 +915,7 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid] ...@@ -915,7 +915,7 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid]
// k is not there -> +[k]ø // k is not there -> +[k]ø
if !Bdone.Has(k) { if !Bdone.Has(k) {
δB := map[Key]ΔValue{k: {VDEL, VDEL}} // hole δB := map[Key]ΔValue{k: {VDEL, VDEL}} // [k]ø->ø
err = δMerge(δ, δB); if err != nil { return nil, err } err = δMerge(δ, δB); if err != nil { return nil, err }
Bdone.Add(k) Bdone.Add(k)
} }
...@@ -966,7 +966,8 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid] ...@@ -966,7 +966,8 @@ func diffT(ctx context.Context, a, b *Tree, δZTC SetOid, trackIdx map[zodb.Oid]
// k is not there -> -[k]ø // k is not there -> -[k]ø
if !Adone.Has(k) { if !Adone.Has(k) {
// XXX // XXX do we need to add(?) [k]ø->ø ?
Adone.Add(k)
} }
fmt.Printf(" av: %s\n", av) fmt.Printf(" av: %s\n", av)
......
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