Commit 4979b6cd authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 804b4700
...@@ -270,7 +270,7 @@ def commit(description): # -> tid ...@@ -270,7 +270,7 @@ def commit(description): # -> tid
# treetxt returns text representation of a tree. # treetxt returns text representation of a tree.
def treetxt(ztree): # -> txt def treetxt(ztree): # -> txt
return xbtree.TopoEncode(xbtree.StructureOf(ztree)) # FIXME include values return xbtree.TopoEncode(xbtree.StructureOf(ztree), vencode=...) # FIXME include values
@func @func
......
...@@ -28,11 +28,9 @@ ...@@ -28,11 +28,9 @@
# ... # ...
# | treegen # | treegen
# #
# a zodb tree goes through treei states # a zodb tree goes through tree states
# every state is committed as separate transaction & printed in the same # every state is committed as separate transaction & printed in the same
# formate as treedelta-genallstructs.py does # format as treedelta-genallstructs.py does
# XXX move all into treegen? ex. `treegen allstructs n kv1 kv2` # XXX move all into treegen? ex. `treegen allstructs n kv1 kv2`
# `treegen trees tree1 tree2 ... or stdin` ? # `treegen trees tree1 tree2 ... or stdin` ?
# -> NOTE we'll need to topodecode with values here
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