diff mercurial/parsers.c @ 18430:0459c6555f69

store: implement lowerencode in C
author Bryan O'Sullivan <bryano@fb.com>
date Wed, 12 Dec 2012 13:09:33 -0800
parents 9535a0dc41f2
children d1d5fdcc2d46
line wrap: on
line diff
--- a/mercurial/parsers.c	Tue Jan 15 22:34:56 2013 +0100
+++ b/mercurial/parsers.c	Wed Dec 12 13:09:33 2012 -0800
@@ -1508,6 +1508,7 @@
 
 PyObject *encodedir(PyObject *self, PyObject *args);
 PyObject *pathencode(PyObject *self, PyObject *args);
+PyObject *lowerencode(PyObject *self, PyObject *args);
 
 static PyMethodDef methods[] = {
 	{"pack_dirstate", pack_dirstate, METH_VARARGS, "pack a dirstate\n"},
@@ -1516,6 +1517,7 @@
 	{"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"},
+	{"lowerencode", lowerencode, METH_VARARGS, "lower-encode a path\n"},
 	{NULL, NULL}
 };