[PATCH RFC] ui: add support for a tweakdefaults knob
pierre-yves.david at ens-lyon.org
Mon Jun 19 11:32:29 EDT 2017
On 06/19/2017 04:58 PM, Yuya Nishihara wrote:
> On Mon, 19 Jun 2017 16:04:41 +0200, Pierre-Yves David wrote:
>>>> There have been talk about such registry of option for quite some time
>>>> (including at the 4.2 central sprint). David Demelier ping me about
>>>> this again 10 days ago and found some time to poke at it yesterday.
>>>> It turned out I ended up with something that work, I've started
>>>> patchbombing it. Once this is in, we can update the tweakdefault flag
>>>> to use this.
>>>>  as part of his quest for
>>> These patches look a good move, though I think the config registry idea is
>>> bloated a bit. Suppose we have tons of config items, I don't think it's good
>>> idea to register them per item.
>> I'm not sure what is your concerns here can you elaborate? We have about
>> 200 known config option in core. That seems a manageable number of object.
> Sorry, I just felt it's overengineered. I don't have no particular concern
> about speed.
>> As centralized config growth feature it will needs one item for each
>> config option anyway (alias, default, documentation, etc...).
>> Do you have an alternative idea in mind?
> Hmm. If we want these features, perhaps configitem() function would be the
I think we want these features. David Demelier (+ at least I) want the
alias feature for ConfigConsolidationPlan. Gregory Szorc (and others
including me) wants the documentation features. If someone has concerns
about these feature we should probably resolves them before pushing
I agree that without the future (more complex) feature, that would be a
bit heavy (a simple list of 3 tuples would be fine) :-)
More information about the Mercurial-devel