mercurial/cext/revlog.c
changeset 49212 d3d3495a5749
parent 49211 675594a0a71a
child 49476 5846bc8a2855
equal deleted inserted replaced
49211:675594a0a71a 49212:d3d3495a5749
   489  */
   489  */
   490 static PyObject *index_pack_header(indexObject *self, PyObject *args)
   490 static PyObject *index_pack_header(indexObject *self, PyObject *args)
   491 {
   491 {
   492 	int header;
   492 	int header;
   493 	char out[4];
   493 	char out[4];
   494 	if (!PyArg_ParseTuple(args, "I", &header)) {
   494 	if (!PyArg_ParseTuple(args, "i", &header)) {
   495 		return NULL;
   495 		return NULL;
   496 	}
   496 	}
   497 	if (self->format_version != format_v1) {
   497 	if (self->format_version != format_v1) {
   498 		PyErr_Format(PyExc_RuntimeError,
   498 		PyErr_Format(PyExc_RuntimeError,
   499 		             "version header should go in the docket, not the "
   499 		             "version header should go in the docket, not the "