##// END OF EJS Templates
revlog: handle error from node lookup...
Martin von Zweigbergk -
r37999:312d7d14 default
parent child Browse files
Show More
@@ -1285,7 +1285,9 b' static int nt_shortest(indexObject *self'
1285 1285 if (v < 0) {
1286 1286 const char *n;
1287 1287 v = -(v + 1);
1288 n = index_node(self, v);
1288 n = index_node_existing(self, v);
1289 if (n == NULL)
1290 return -3;
1289 1291 if (memcmp(node, n, 20) != 0)
1290 1292 /*
1291 1293 * Found a unique prefix, but it wasn't for the
General Comments 0
You need to be logged in to leave comments. Login now