Show More
@@ -56,10 +56,11 b' def parse_index2(data, inline):' | |||||
56 | n += 1 |
|
56 | n += 1 | |
57 | off += s |
|
57 | off += s | |
58 |
|
58 | |||
59 | e = list(index[0]) |
|
59 | if index: | |
60 | type = gettype(e[0]) |
|
60 | e = list(index[0]) | |
61 | e[0] = offset_type(0, type) |
|
61 | type = gettype(e[0]) | |
62 | index[0] = tuple(e) |
|
62 | e[0] = offset_type(0, type) | |
|
63 | index[0] = tuple(e) | |||
63 |
|
64 | |||
64 | # add the magic null revision at -1 |
|
65 | # add the magic null revision at -1 | |
65 | index.append((0, 0, 0, -1, -1, -1, -1, nullid)) |
|
66 | index.append((0, 0, 0, -1, -1, -1, -1, nullid)) |
General Comments 0
You need to be logged in to leave comments.
Login now