This is an archive of the discontinued Mercurial Phabricator instance.

config: add experimental argument to the config registrar

Authored by navaneeth.suresh on Aug 15 2019, 10:22 AM.



Until now, there are almost 28 config items which are considered as
experimental but, not present in the experimental section of
the registrar. This patch adds an experimental argument to the
config registrar to mark such config items.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
pulkit added a subscriber: pulkit.Aug 17 2019, 3:25 PM
pulkit added inline comments.

This breaks contrib/ with older versions of mercurial. Can you send a compatibility fix as followup?


I'm not sure I understood that. Do you want me to remove the changes in contrib/

This change breaks contrib/ on older version (that extension is
special and we expect it to be compatible with older version). Can you
follow up with a fix ?

(note: when doing this kind of change it is often useful to have
different patch for adding the feature and using it. It help to deal
with this kind of case).