Commit a5130f26 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c67d1f31
...@@ -148,7 +148,7 @@ def treedeltaGenAllStructs(zstor, kv1txt, kv2txt, n): ...@@ -148,7 +148,7 @@ def treedeltaGenAllStructs(zstor, kv1txt, kv2txt, n):
zblk = ZBlk() zblk = ZBlk()
zblk.setblkdata(v) zblk.setblkdata(v)
valdict[v] = zblk valdict[v] = zblk
commit('treedelta/values %r' % valv) commit('treedelta/values -> %r' % valv)
# vdecode(vtxt) -> vobj decodes value text into value object, e.g. 'a' -> ZBlk(a) # vdecode(vtxt) -> vobj decodes value text into value object, e.g. 'a' -> ZBlk(a)
# vencode(vobj) -> vtxt encodes value object into value text, e.g. ZBlk(a) -> 'a' # vencode(vobj) -> vtxt encodes value object into value text, e.g. ZBlk(a) -> 'a'
...@@ -211,7 +211,7 @@ def treedeltaGenAllStructs(zstor, kv1txt, kv2txt, n): ...@@ -211,7 +211,7 @@ def treedeltaGenAllStructs(zstor, kv1txt, kv2txt, n):
patch(ztree, delta, verify) patch(ztree, delta, verify)
xbtree.Restructure(ztree, tstruct) xbtree.Restructure(ztree, tstruct)
ttxt_prev = ttxt ttxt_prev = ttxt
ttxt = xbtree.TopoEncode(tstruct) # XXX with values ttxt = treetxt(ztree)
commit('%s -> %s' % (ttxt_prev, ttxt)) commit('%s -> %s' % (ttxt_prev, ttxt))
# XXX printδ # XXX printδ
......
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