Mercurial > public > mercurial-scm > hg
diff mercurial/cext/parsers.c @ 43554:b56de57c45ce
index: add a `get_rev` method (API)
The new `index.getrev(node)` is to be preferred over using:
`index.nodemap.get(node)`.
This get us closer to be able to remove the `nodemap` attribute of the index.
Differential Revision: https://phab.mercurial-scm.org/D7326
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:51 +0100 |
parents | bd87114ce341 |
children | 61e7464477ac |
line wrap: on
line diff
--- a/mercurial/cext/parsers.c Sat Nov 09 13:23:51 2019 +0100 +++ b/mercurial/cext/parsers.c Sat Nov 09 13:23:51 2019 +0100 @@ -667,7 +667,7 @@ void manifest_module_init(PyObject *mod); void revlog_module_init(PyObject *mod); -static const int version = 15; +static const int version = 16; static void module_init(PyObject *mod) {