tests/test-parseindex2.py
changeset 38852 a3dacabd476b
parent 38095 3de58f50afa2
child 38989 01966d45b45e
equal deleted inserted replaced
38851:781b2720d2ac 38852:a3dacabd476b
    58 
    58 
    59     e = list(index[0])
    59     e = list(index[0])
    60     type = gettype(e[0])
    60     type = gettype(e[0])
    61     e[0] = offset_type(0, type)
    61     e[0] = offset_type(0, type)
    62     index[0] = tuple(e)
    62     index[0] = tuple(e)
    63 
       
    64     # add the magic null revision at -1
       
    65     index.append((0, 0, 0, -1, -1, -1, -1, nullid))
       
    66 
    63 
    67     return index, cache
    64     return index, cache
    68 
    65 
    69 data_inlined = (
    66 data_inlined = (
    70     b'\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x01\x8c'
    67     b'\x00\x01\x00\x01\x00\x00\x00\x00\x00\x00\x01\x8c'