##// END OF EJS Templates
fuzz: exercise a little more revlog code...
Augie Fackler -
r43421:36e386db default
parent child Browse files
Show More
@@ -20,10 +20,15 b' for inline in (True, False):'
20 try:
20 try:
21 index, cache = parse_index2(data, inline)
21 index, cache = parse_index2(data, inline)
22 index.slicechunktodensity(list(range(len(index))), 0.5, 262144)
22 index.slicechunktodensity(list(range(len(index))), 0.5, 262144)
23 index.stats()
24 index.findsnapshots({}, 0)
25 10 in index
23 for rev in range(len(index)):
26 for rev in range(len(index)):
27 index.reachableroots(0, [len(index)-1], [rev])
24 node = index[rev][7]
28 node = index[rev][7]
25 partial = index.shortest(node)
29 partial = index.shortest(node)
26 index.partialmatch(node[:partial])
30 index.partialmatch(node[:partial])
31 index.deltachain(rev, None, True)
27 except Exception as e:
32 except Exception as e:
28 pass
33 pass
29 # uncomment this print if you're editing this Python code
34 # uncomment this print if you're editing this Python code
General Comments 0
You need to be logged in to leave comments. Login now