##// END OF EJS Templates
dirstate: add a comment about a racy piece of code during updates...
dirstate: add a comment about a racy piece of code during updates This is a bit that is not really correct but works "fine" in practice. Let us write the details down so that people stop wondering how that logic might be correct… It is not. Differential Revision: https://phab.mercurial-scm.org/D11781

File last commit:

r44957:9db11679 default
r49200:c655483e default
Show More
revlog.h
17 lines | 392 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)
Yuya Nishihara
revlog: export symbol of indexType...
r40894 #endif /* _HG_REVLOG_H_ */