Commit 92051005 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent f6f34f76
...@@ -574,7 +574,9 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) (_ ΔB, err error) { ...@@ -574,7 +574,9 @@ func (δBtail *ΔBtail) Update(δZ *zodb.EventCommit) (_ ΔB, err error) {
if err != nil { if err != nil {
return ΔB{}, err return ΔB{}, err
} }
// XXX assert δTtail.trackNew.Empty() if !δTtail.trackNew.Empty() {
panicf("BUG: ΔBtail.Update: ΔTtail<%s>.trackNew != ø after _Update1", root)
}
δTtail.trackNew = trackNew δTtail.trackNew = trackNew
// XXX vvv we can skip computing diff for HEAD~..HEAD (we just // XXX vvv we can skip computing diff for HEAD~..HEAD (we just
......
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