Submitter | Boris Feld |
---|---|
Date | Nov. 26, 2018, 6:33 p.m. |
Message ID | <498fc4b8da0cf147315b.1543257234@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/36790/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c --- a/mercurial/cext/revlog.c +++ b/mercurial/cext/revlog.c @@ -1086,7 +1086,7 @@ index_segment_span(indexObject *self, Py return (end_offset - start_offset) + (int64_t)end_size; } -/* returns revs[startidx:endidx] without empty trailing revs */ +/* returns endidx so that revs[startidx:endidx] has no empty trailing revs */ static Py_ssize_t trim_endidx(indexObject *self, const Py_ssize_t *revs, Py_ssize_t startidx, Py_ssize_t endidx) {