equal
deleted
inserted
replaced
364 parent_2 = getbe32(data + 28); |
364 parent_2 = getbe32(data + 28); |
365 c_node_id = data + 32; |
365 c_node_id = data + 32; |
366 |
366 |
367 entry = Py_BuildValue(tuple_format, offset_flags, comp_len, uncomp_len, |
367 entry = Py_BuildValue(tuple_format, offset_flags, comp_len, uncomp_len, |
368 base_rev, link_rev, parent_1, parent_2, c_node_id, |
368 base_rev, link_rev, parent_1, parent_2, c_node_id, |
369 20); |
369 (Py_ssize_t)20); |
370 |
370 |
371 if (entry) { |
371 if (entry) { |
372 PyObject_GC_UnTrack(entry); |
372 PyObject_GC_UnTrack(entry); |
373 Py_INCREF(entry); |
373 Py_INCREF(entry); |
374 } |
374 } |
3015 return; |
3015 return; |
3016 Py_INCREF(&nodetreeType); |
3016 Py_INCREF(&nodetreeType); |
3017 PyModule_AddObject(mod, "nodetree", (PyObject *)&nodetreeType); |
3017 PyModule_AddObject(mod, "nodetree", (PyObject *)&nodetreeType); |
3018 |
3018 |
3019 if (!nullentry) { |
3019 if (!nullentry) { |
3020 nullentry = Py_BuildValue(PY23("iiiiiiis#", "iiiiiiiy#"), 0, 0, |
3020 nullentry = |
3021 0, -1, -1, -1, -1, nullid, 20); |
3021 Py_BuildValue(PY23("iiiiiiis#", "iiiiiiiy#"), 0, 0, 0, -1, |
|
3022 -1, -1, -1, nullid, (Py_ssize_t)20); |
3022 } |
3023 } |
3023 if (nullentry) |
3024 if (nullentry) |
3024 PyObject_GC_UnTrack(nullentry); |
3025 PyObject_GC_UnTrack(nullentry); |
3025 |
3026 |
3026 caps = PyCapsule_New(HgRevlogIndex_GetParents, |
3027 caps = PyCapsule_New(HgRevlogIndex_GetParents, |