D7320: revlog: clean up the node of all revision stripped in the C code
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Sat Nov 9 01:56:32 UTC 2019
Closed by commit rHG67e15214213b: revlog: clean up the node of all revision stripped in the C code (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs Review".
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7320?vs=17736&id=17833
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7320/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7320
AFFECTED FILES
mercurial/cext/revlog.c
CHANGE DETAILS
diff --git a/mercurial/cext/revlog.c b/mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c
+++ b/mercurial/cext/revlog.c
@@ -2489,7 +2489,7 @@
if (self->ntinitialized) {
Py_ssize_t i;
- for (i = start + 1; i < self->length; i++) {
+ for (i = start; i < self->length; i++) {
const char *node = index_node_existing(self, i);
if (node == NULL)
return -1;
To: marmoute, #hg-reviewers, indygreg
Cc: martinvonz, indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list