On Tue, 21 Mar 2017 19:43:56 -0700, Gregory Szorc wrote: > On Tue, Mar 21, 2017 at 10:59 AM, Ryan McElroy <r...@fb.com> wrote: > > > On 3/15/17 1:10 PM, Yuya Nishihara wrote: > > > >> On Tue, 14 Mar 2017 08:45:44 -0700, Jun Wu wrote: > >> > >>> Excerpts from Yuya Nishihara's message of 2017-03-13 19:02:06 -0700: > >>> > >>>> How about <name>:allowbeta = True ? > >>>> > >>> Old clients will try to load "True" as an extension.
Crazy idea. [extensions] <name>:allowbeta = !True "!" may be omitted so new user can just set <name>:allowbeta = <boolean>. Perhaps config transformer will strip leading "!". > FWIW, I think it might be a good practice on any new config section to > iterate keys without sub-options (strings without ":"). That way, future > versions can introduce sub-options to tweak per-item behavior without > having to worry about backwards compatibility. +1 _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel