[POLL] Mass renaming options for consistency + guidelines
raf at durin42.com
Sun Nov 12 12:26:18 EST 2017
> On Nov 12, 2017, at 4:42 AM, Yuya Nishihara <yuya at tcha.org> wrote:
> On Sat, 14 Oct 2017 14:02:03 +0900, Yuya Nishihara wrote:
>> On Sat, 14 Oct 2017 00:41:04 -0400, Augie Fackler wrote:
>>> durin42: +1
>>> martinvonz: +1
>>> David Demelier: +1
>>> Yuya: ? (I think +0 on hyphens at least for new config knobs?)
>> Yep, +0. More precisely:
>> * okay: allow_pull
>> * preferred: allow-pull
>> * also preferred: allowpull
>> FWIW, dashes can't be used in some config sections.
>> * [hooks] - pre-/post- is reserved for command hooks
>> * [revsetaliases], [templatealiases] - name must be a valid symbol
> So we're agreed to do the mass renaming, right?
> I thought it was only for new options, but maybe I was wrong.
I’m happy to have aliases for things with the new config registrar, since it centralizes the list of aliases and greatly reduces the maintenance burden.
I don’t feel strongly about renaming the canonical version in the docs though. If we think it’s better to leave the authoritative name the longer-standing name, that’s completely fine with me.
More information about the Mercurial-devel