##// END OF EJS Templates
revlog: update the documentation for `trim_endidx`...
Boris Feld -
r40773:8edca70d default
parent child Browse files
Show More
@@ -1086,7 +1086,7 b' index_segment_span(indexObject *self, Py'
1086 return (end_offset - start_offset) + (int64_t)end_size;
1086 return (end_offset - start_offset) + (int64_t)end_size;
1087 }
1087 }
1088
1088
1089 /* returns revs[startidx:endidx] without empty trailing revs */
1089 /* returns endidx so that revs[startidx:endidx] has no empty trailing revs */
1090 static Py_ssize_t trim_endidx(indexObject *self, const Py_ssize_t *revs,
1090 static Py_ssize_t trim_endidx(indexObject *self, const Py_ssize_t *revs,
1091 Py_ssize_t startidx, Py_ssize_t endidx)
1091 Py_ssize_t startidx, Py_ssize_t endidx)
1092 {
1092 {
General Comments 0
You need to be logged in to leave comments. Login now