changelog: change input type of index_get_parents
We were wrongfully using int instead of Py_ssize_t for the revision number.
--- a/mercurial/parsers.c Fri May 22 17:08:59 2015 -0500
+++ b/mercurial/parsers.c Tue May 26 12:08:50 2015 -0700
@@ -1177,7 +1177,8 @@
return ret;
}
-static inline void index_get_parents(indexObject *self, int rev, int *ps)
+static inline void index_get_parents(indexObject *self, Py_ssize_t rev,
+ int *ps)
{
if (rev >= self->length - 1) {
PyObject *tuple = PyList_GET_ITEM(self->added,