Show More
@@ -863,6 +863,13 b' static inline int index_baserev(indexObj' | |||
|
863 | 863 | rev, result); |
|
864 | 864 | return -2; |
|
865 | 865 | } |
|
866 | if (result < -1) { | |
|
867 | PyErr_Format( | |
|
868 | PyExc_ValueError, | |
|
869 | "corrupted revlog, revision base out of range: %d, %d", | |
|
870 | rev, result); | |
|
871 | return -2; | |
|
872 | } | |
|
866 | 873 | return result; |
|
867 | 874 | } |
|
868 | 875 |
General Comments 0
You need to be logged in to leave comments.
Login now