Show More
@@ -352,8 +352,8 static PyObject *parse_index2(PyObject * | |||||
352 | inlined = inlined_obj && PyObject_IsTrue(inlined_obj); |
|
352 | inlined = inlined_obj && PyObject_IsTrue(inlined_obj); | |
353 |
|
353 | |||
354 | /* If no data is inlined, we know the size of the index list in |
|
354 | /* If no data is inlined, we know the size of the index list in | |
355 |
* advance: size divided by size of |
|
355 | * advance: size divided by the size of one revlog record (64 bytes) | |
356 |
* plus one for |
|
356 | * plus one for nullid */ | |
357 | index = inlined ? PyList_New(0) : PyList_New(size / 64 + 1); |
|
357 | index = inlined ? PyList_New(0) : PyList_New(size / 64 + 1); | |
358 | if (!index) |
|
358 | if (!index) | |
359 | goto quit; |
|
359 | goto quit; |
General Comments 0
You need to be logged in to leave comments.
Login now