--- a/mercurial/pathencode.c Sun May 12 10:09:34 2013 +0100 +++ b/mercurial/pathencode.c Fri May 10 11:23:50 2013 -0500 @@ -696,7 +696,7 @@ return 0; } -#define MAXENCODE 4096 * 3 +#define MAXENCODE 4096 * 4 static PyObject *hashencode(const char *src, Py_ssize_t len) {