diff -r 8960d8eb747b -r 675594a0a71a mercurial/cext/revlog.c --- a/mercurial/cext/revlog.c Tue Apr 06 03:24:26 2021 +0200 +++ b/mercurial/cext/revlog.c Tue May 17 21:49:36 2022 +0400 @@ -497,7 +497,7 @@ if (self->format_version != format_v1) { PyErr_Format(PyExc_RuntimeError, "version header should go in the docket, not the " - "index: %lu", + "index: %d", header); return NULL; }