mercurial/cext/revlog.c
changeset 41283 4948b327d3b9
parent 41129 074c72a38423
child 42067 b01bbb8ff1f2
equal deleted inserted replaced
41282:4fab8a7d2d72 41283:4948b327d3b9
   993 		return -2;
   993 		return -2;
   994 	}
   994 	}
   995 	if (result < -1) {
   995 	if (result < -1) {
   996 		PyErr_Format(
   996 		PyErr_Format(
   997 		    PyExc_ValueError,
   997 		    PyExc_ValueError,
   998 		    "corrupted revlog, revision base out of range: %d, %d",
   998 		    "corrupted revlog, revision base out of range: %d, %d", rev,
   999 		    rev, result);
   999 		    result);
  1000 		return -2;
  1000 		return -2;
  1001 	}
  1001 	}
  1002 	return result;
  1002 	return result;
  1003 }
  1003 }
  1004 
  1004