mercurial/parsers.c
changeset 17616 9535a0dc41f2
parent 17606 318fb32b980e
child 18430 0459c6555f69
--- a/mercurial/parsers.c	Tue Sep 18 23:32:42 2012 +0200
+++ b/mercurial/parsers.c	Tue Sep 18 15:42:19 2012 -0700
@@ -1507,6 +1507,7 @@
 static char parsers_doc[] = "Efficient content parsing.";
 
 PyObject *encodedir(PyObject *self, PyObject *args);
+PyObject *pathencode(PyObject *self, PyObject *args);
 
 static PyMethodDef methods[] = {
 	{"pack_dirstate", pack_dirstate, METH_VARARGS, "pack a dirstate\n"},
@@ -1514,6 +1515,7 @@
 	{"parse_dirstate", parse_dirstate, METH_VARARGS, "parse a dirstate\n"},
 	{"parse_index2", parse_index2, METH_VARARGS, "parse a revlog index\n"},
 	{"encodedir", encodedir, METH_VARARGS, "encodedir a path\n"},
+	{"pathencode", pathencode, METH_VARARGS, "fncache-encode a path\n"},
 	{NULL, NULL}
 };