[PATCH 3 of 7 V5] sparse-revlog: add a `index_segment_span` function in C
Yuya Nishihara
yuya at tcha.org
Sat Nov 24 01:16:55 UTC 2018
On Thu, 22 Nov 2018 19:08:05 +0100, Boris Feld wrote:
> # HG changeset patch
> # User Boris Feld <boris.feld at octobus.net>
> # Date 1541785396 -3600
> # Fri Nov 09 18:43:16 2018 +0100
> # Node ID 4ad3891a07ed83cda837db8d0cbe285ebb377869
> # Parent 18864760091a1622d0404e9a87923cf2b1b82082
> # EXP-Topic sparse-perf
> # Available At https://bitbucket.org/octobus/mercurial-devel/
> # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 4ad3891a07ed
> sparse-revlog: add a `index_segment_span` function in C
> + PyErr_Format(PyExc_ValueError,
> + "corrupted revlog index: inconsistent offset "
> + "between revisions (%lld) and (%lld)",
> + (long long)start_rev, (long long)end_offset);
s/%lld/%zd/g, and s/end_offset/end_rev/.
The doc says size_t format notations are supported.
https://docs.python.org/2/c-api/string.html#c.PyString_FromFormat
More information about the Mercurial-devel
mailing list