##// END OF EJS Templates
phabricator: don't abort if property writing fails during amending...
phabricator: don't abort if property writing fails during amending Currently if one of the writediffproperty calls fails due to network issues during the amending of commit messages to include the Diff. Rev. line, the transaction is aborted and rolled back. This means that the associations between the commits and the DREVs are lost for any already amended commits because the removal of the local tags isn't covered by the rollback. Differential Revision: https://phab.mercurial-scm.org/D6835

File last commit:

r40896:b12700dd default
r43187:e26c2440 stable
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_ */