##// END OF EJS Templates
revlog: use radix tree also for matching keys shorter than 4 hex digits...
Martin von Zweigbergk -
r37875:92ed344a @27 default
parent child Browse files
Show More
@@ -1251,7 +1251,7 b' static PyObject *index_partialmatch(inde'
1251 1251 if (!PyArg_ParseTuple(args, PY23("s#", "y#"), &node, &nodelen))
1252 1252 return NULL;
1253 1253
1254 if (nodelen < 4) {
1254 if (nodelen < 1) {
1255 1255 PyErr_SetString(PyExc_ValueError, "key too short");
1256 1256 return NULL;
1257 1257 }
General Comments 0
You need to be logged in to leave comments. Login now