Mercurial > hg
view mercurial/cext/revlog.h @ 41377:e053053ceba7
wireprotov2server: don't attempt to cast command name
I'm not sure why this was added. The command name should already
be bytes.
Differential Revision: https://phab.mercurial-scm.org/D5697
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Fri, 25 Jan 2019 14:57:37 -0800 |
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_ */