mercurial/parsers.c
changeset 17606 318fb32b980e
parent 17356 511dfb34b412
child 17616 9535a0dc41f2
equal deleted inserted replaced
17605:e9cc29be3305 17606:318fb32b980e
  1504 	return NULL;
  1504 	return NULL;
  1505 }
  1505 }
  1506 
  1506 
  1507 static char parsers_doc[] = "Efficient content parsing.";
  1507 static char parsers_doc[] = "Efficient content parsing.";
  1508 
  1508 
       
  1509 PyObject *encodedir(PyObject *self, PyObject *args);
       
  1510 
  1509 static PyMethodDef methods[] = {
  1511 static PyMethodDef methods[] = {
  1510 	{"pack_dirstate", pack_dirstate, METH_VARARGS, "pack a dirstate\n"},
  1512 	{"pack_dirstate", pack_dirstate, METH_VARARGS, "pack a dirstate\n"},
  1511 	{"parse_manifest", parse_manifest, METH_VARARGS, "parse a manifest\n"},
  1513 	{"parse_manifest", parse_manifest, METH_VARARGS, "parse a manifest\n"},
  1512 	{"parse_dirstate", parse_dirstate, METH_VARARGS, "parse a dirstate\n"},
  1514 	{"parse_dirstate", parse_dirstate, METH_VARARGS, "parse a dirstate\n"},
  1513 	{"parse_index2", parse_index2, METH_VARARGS, "parse a revlog index\n"},
  1515 	{"parse_index2", parse_index2, METH_VARARGS, "parse a revlog index\n"},
       
  1516 	{"encodedir", encodedir, METH_VARARGS, "encodedir a path\n"},
  1514 	{NULL, NULL}
  1517 	{NULL, NULL}
  1515 };
  1518 };
  1516 
  1519 
  1517 static void module_init(PyObject *mod)
  1520 static void module_init(PyObject *mod)
  1518 {
  1521 {