Commit f21ee047 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 2a24113d
......@@ -2,8 +2,8 @@
# -*- 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 ?
"""Program treedelta-genallstructs commits subset of all possible tree changes
in between two trees specified key->value sets.
It is used as helper for ΔBTree tests.
......@@ -21,5 +21,24 @@ tree <oid>
δ
<LF>
XXX
"""
from __future__ import print_function, absolute_import
import sys
def main():
if len(sys.argv) != 5:
print("Usage: %s <n> <zurl> <kv1> <kv2>" % sys.argv[0], file=sys.stderr)
sys.exit(1)
n = int(sys.argv[1])
zurl, kv1, kv2 = sys.argv[2:]
if __name__ == '__main__':
main()
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