mercurial/cext/parsers.c
changeset 34440 7ed0750c71a1
parent 34438 b90e8da190da
child 34861 6ece4a85c350
equal deleted inserted replaced
34439:88e83a618de0 34440:7ed0750c71a1
   319 }
   319 }
   320 
   320 
   321 /*
   321 /*
   322  * Build a set of non-normal and other parent entries from the dirstate dmap
   322  * Build a set of non-normal and other parent entries from the dirstate dmap
   323 */
   323 */
   324 static PyObject *nonnormalotherparententries(PyObject *self, PyObject *args) {
   324 static PyObject *nonnormalotherparententries(PyObject *self, PyObject *args)
       
   325 {
   325 	PyObject *dmap, *fname, *v;
   326 	PyObject *dmap, *fname, *v;
   326 	PyObject *nonnset = NULL, *otherpset = NULL, *result = NULL;
   327 	PyObject *nonnset = NULL, *otherpset = NULL, *result = NULL;
   327 	Py_ssize_t pos;
   328 	Py_ssize_t pos;
   328 
   329 
   329 	if (!PyArg_ParseTuple(args, "O!:nonnormalentries",
   330 	if (!PyArg_ParseTuple(args, "O!:nonnormalentries",
   643 	Py_XDECREF(parents);
   644 	Py_XDECREF(parents);
   644 	return ret;
   645 	return ret;
   645 }
   646 }
   646 
   647 
   647 
   648 
   648 static PyObject *fm1readmarkers(PyObject *self, PyObject *args) {
   649 static PyObject *fm1readmarkers(PyObject *self, PyObject *args)
       
   650 {
   649 	const char *data, *dataend;
   651 	const char *data, *dataend;
   650 	int datalen;
   652 	int datalen;
   651 	Py_ssize_t offset, stop;
   653 	Py_ssize_t offset, stop;
   652 	PyObject *markers = NULL;
   654 	PyObject *markers = NULL;
   653 
   655