Commit 5dbb51b6 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 15a7217c
......@@ -235,8 +235,12 @@ func (tidx trackIndex) ApplyΔ(δ *δtrackIndex) {
// process adds
δnchild := map[zodb.Oid]int{}
for oid, δt := range δ.Add {
_, already := tidx[oid]
t, already := tidx[oid]
if already {
// XXX but check if with the same parent
if t.parent != δt.parent {
panic("TODO")
}
continue // object already tracked
}
......
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