Mercurial > hg
view contrib/fuzz/pyutil.h @ 51636:553eb132366f stable
bookmark: fix remote bookmark deletion when the push is raced
Before this patch, running `hg push -B book` to push the `book` bookmark
sideway at the same time as a commit making it moving forward might result in
the removal of the bookmark remotely.
After this changeset, the push can still be raced, but to remove deletion
happens. This is progress.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 11 Jun 2024 03:05:20 +0200 |
parents | 8766728dbce6 |
children |
line wrap: on
line source
#include <Python.h> #if PY_MAJOR_VERSION >= 3 #define PYCODETYPE PyObject #else #define PYCODETYPE PyCodeObject #endif namespace contrib { void initpy(const char *cselfpath); PyObject *pyglobals(); } /* namespace contrib */