Mercurial > hg
view mercurial/cext/revlog.h @ 43561:45d123d84011
index: use `index.get_rev` in `revset._mapbynodefunc`
We slightly update the code in the process.
Differential Revision: https://phab.mercurial-scm.org/D7343
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 09 Nov 2019 13:23:53 +0100 |
parents | b12700dd261f |
children | 9db11679f8ac |
line wrap: on
line source
/* revlog.h - efficient revlog parsing This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. */ #ifndef _HG_REVLOG_H_ #define _HG_REVLOG_H_ #include <Python.h> extern PyTypeObject HgRevlogIndex_Type; #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type) int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps); #endif /* _HG_REVLOG_H_ */