1 echo Create a series of checkpoints, with names that intentionally sort
2 echo differently by topology than by name. For now, it is not possible
3 echo to create fanout without hacking through redefines.
4 checkpoint-create-as test c1
5 checkpoint-create-as test c1
6 checkpoint-create-as test c3
7 checkpoint-create-as test c2
9 echo snapshots cannot be created while checkpoints exist
10 snapshot-create-as test s1
12 echo Checking tree view (siblings sorted alphabetically)
13 checkpoint-list test --tree
15 echo Demonstrate list filtering
16 checkpoint-list test --roots --name
17 checkpoint-list test --leaves --name
18 checkpoint-list test --parent --no-leaves --name
19 checkpoint-list test --from c3 --name
20 checkpoint-list test --from c1 --descendants --name
22 echo Now the tree is linear, so we have an unambiguous topological order
23 checkpoint-list test --name
24 checkpoint-list test --name --topological
27 checkpoint-delete test c1
28 checkpoint-dumpxml test c3
29 checkpoint-dumpxml test c2
31 echo Deleting current checkpoint moves current up to remaining parent
32 checkpoint-delete test --children-only c3
33 checkpoint-list test --leaves --name
34 checkpoint-delete test --children c3
35 checkpoint-list test --leaves --name