##// END OF EJS Templates
revlog: fix pure python slicing test when chain contains nullrev...
revlog: fix pure python slicing test when chain contains nullrev The revlog mock used in the test was not behaving the same as its C counterpart.

File last commit:

r40896:b12700dd default
r41110:88d813cd default
Show More
revlog.h
19 lines | 455 B | text/x-c | CLexer
Yuya Nishihara
revlog: export symbol of indexType...
r40894 /*
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>
Yuya Nishihara
revlog: rename indexType to HgRevlogIndex_Type as it's a global symbol...
r40895 extern PyTypeObject HgRevlogIndex_Type;
Yuya Nishihara
revlog: export symbol of indexType...
r40894
Yuya Nishihara
revlog: add public CPython function to get parent revisions...
r40896 #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type)
int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps);
Yuya Nishihara
revlog: export symbol of indexType...
r40894 #endif /* _HG_REVLOG_H_ */