Mercurial > hg
changeset 48084:596510cd2b12
dirstate-item: Make constructor parameters optional
… in the C implementation of DirstateItem, like they already were in the
Python and Rust ones.
Differential Revision: https://phab.mercurial-scm.org/D11521
author | Simon Sapin <simon.sapin@octobus.net> |
---|---|
date | Thu, 30 Sep 2021 18:06:34 +0200 |
parents | fecfea658127 |
children | 6a78715e56c8 |
files | mercurial/cext/parsers.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/cext/parsers.c Fri Oct 01 08:44:56 2021 -0700 +++ b/mercurial/cext/parsers.c Thu Sep 30 18:06:34 2021 +0200 @@ -71,7 +71,7 @@ clean_p2 = 0; possibly_dirty = 0; parentfiledata = Py_None; - if (!PyArg_ParseTupleAndKeywords(args, kwds, "iiiiiiiO", keywords_name, + if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iiiiiiiO", keywords_name, &wc_tracked, &p1_tracked, &p2_tracked, &merged, &clean_p1, &clean_p2, &possibly_dirty, &parentfiledata