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