##// END OF EJS Templates
hg: have `updatetotally` more thoroughly check updatecheck argument (API)...
hg: have `updatetotally` more thoroughly check updatecheck argument (API) .. api:: `mercurial.hg.updatetotally` is now more thorough about checking its `updatecheck` keyword argument. Previously invalid values would have used the configured default updatecheck method, but now will raise ValueError. Differential Revision: https://phab.mercurial-scm.org/D6878

File last commit:

r40896:b12700dd default
r43241:ee1ef76d 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_ */