contrib/fuzz/revlog.cc
changeset 49678 efbbc2f9121e
parent 43859 8766728dbce6
equal deleted inserted replaced
49677:05db41701ece 49678:efbbc2f9121e
    18 for inline in (True, False):
    18 for inline in (True, False):
    19     try:
    19     try:
    20         index, cache = parsers.parse_index2(data, inline)
    20         index, cache = parsers.parse_index2(data, inline)
    21         index.slicechunktodensity(list(range(len(index))), 0.5, 262144)
    21         index.slicechunktodensity(list(range(len(index))), 0.5, 262144)
    22         index.stats()
    22         index.stats()
    23         index.findsnapshots({}, 0)
    23         index.findsnapshots({}, 0, len(index) - 1)
    24         10 in index
    24         10 in index
    25         for rev in range(len(index)):
    25         for rev in range(len(index)):
    26             index.reachableroots(0, [len(index)-1], [rev])
    26             index.reachableroots(0, [len(index)-1], [rev])
    27             node = index[rev][7]
    27             node = index[rev][7]
    28             partial = index.shortest(node)
    28             partial = index.shortest(node)