Show More
@@ -225,6 +225,9 b' int HgRevlogIndex_GetParents(PyObject *o' | |||||
225 | static inline int64_t index_get_start(indexObject *self, Py_ssize_t rev) |
|
225 | static inline int64_t index_get_start(indexObject *self, Py_ssize_t rev) | |
226 | { |
|
226 | { | |
227 | uint64_t offset; |
|
227 | uint64_t offset; | |
|
228 | if (rev == nullrev) { | |||
|
229 | return 0; | |||
|
230 | } | |||
228 | if (rev >= self->length) { |
|
231 | if (rev >= self->length) { | |
229 | PyObject *tuple; |
|
232 | PyObject *tuple; | |
230 | PyObject *pylong; |
|
233 | PyObject *pylong; |
General Comments 0
You need to be logged in to leave comments.
Login now