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
2a24113d
Commit
2a24113d
authored
May 20, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
16423af1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
0 deletions
+25
-0
wcfs/testprog/wcfs_commit_tree_deltas.py
wcfs/testprog/wcfs_commit_tree_deltas.py
+25
-0
No files found.
wcfs/testprog/wcfs_commit_tree_deltas.py
0 → 100644
View file @
2a24113d
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2020 Nexedi SA and Contributors.
# Kirill Smelkov <kirr@nexedi.com>
"""Program wcfs_commit_tree_deltas commits subset of all possible tree changes
in between two specified key->value sets. XXX -> zodb_gen_tree_deltas ?
It is used as helper for ΔBTree tests.
Usage: <prog> <n> <zurl> <kv1> <kv2>
It generates ZODB commits with <tree1> -> <tree2> changes for subset of all
possible tree topologies tree1 and tree2 that can represent kv1 and kv2
correspondingly.
For every made commit it prints to stdout:
# <tree1> -> <tree2>
tid <tid>
tree <oid>
δ
<LF>
"""
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