diff --git a/mercurial/cext/parsers.c b/mercurial/cext/parsers.c --- a/mercurial/cext/parsers.c +++ b/mercurial/cext/parsers.c @@ -488,9 +488,8 @@ to make sure it is correct. */ static PyObject *dirstate_item_set_possibly_dirty(dirstateItemObject *self) { - if (self->flags |= dirstate_flag_possibly_dirty) { - Py_RETURN_NONE; - } + self->flags |= dirstate_flag_possibly_dirty; + Py_RETURN_NONE; } /* See docstring of the python implementation for details */