Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
a34ab52c
Commit
a34ab52c
authored
May 25, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
1ac0d8f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wcfs/testprog/treegen.py
wcfs/testprog/treegen.py
+3
-3
No files found.
wcfs/testprog/treegen.py
View file @
a34ab52c
...
@@ -41,7 +41,7 @@ trees
...
@@ -41,7 +41,7 @@ trees
# a zodb tree goes through tree 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
# format as tree
delta-genallstructs.py
does
# format as tree
gen-allstructs
does
allstructs
allstructs
...
@@ -186,8 +186,8 @@ def AllStructs(zstor, kv1txt, kv2txt, n, seed=None):
...
@@ -186,8 +186,8 @@ def AllStructs(zstor, kv1txt, kv2txt, n, seed=None):
t2AllStructs
=
list
(
xbtree
.
AllStructs
(
kv2
.
keys
(),
maxdepth
,
maxsplit
))
t2AllStructs
=
list
(
xbtree
.
AllStructs
(
kv2
.
keys
(),
maxdepth
,
maxsplit
))
# create the tree
# create the tree
ztree
=
root
[
'tree
delta
/tree'
]
=
XLOTree
()
ztree
=
root
[
'tree
gen
/tree'
]
=
XLOTree
()
commit
(
'tree
delta
/tree'
)
commit
(
'tree
gen
/tree'
)
# XXX print something?
# XXX print something?
# emit patches ztree with delta, adjusts tree structure and emits corresponding commit.
# emit patches ztree with delta, adjusts tree structure and emits corresponding commit.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment