On Fri, Jul 14, 2017 at 11:59 AM, Augie Fackler <r...@durin42.com> wrote: > >> On Jul 14, 2017, at 14:58, Jun Wu <qu...@fb.com> wrote: >> >> Excerpts from Augie Fackler's message of 2017-07-14 14:39:17 -0400: >>> Urg. This is kind of unreviewable, because it's gathering configitems >>> from everywhere and splatting them in one big file, so it's hard to >>> audit defaults etc. >> >> Why is audit needed if defaults are written by code, not human? > > Because I'd like to actually read through things and make sure it's behaving > sensibly. > >> >>> Could we maybe migrate one file's config items at a time to >>> configitems.py? I know it'd be a huge series, but I could rip through >>> that extremely quickly via mail, whereas this big hairball is going to >>> be very hard to check. >> >> Per file is not a good idea, since if two files have "config('a', 'b', >> 'c')", they need to be changed in a single patch. > > Could we break it down by config section or something then?
I'm fine with it being a single patch. I prefer that to 130 patches actually. But that's because it's generated, not otherwise. I did some spot-checking and it all looked correct. Okay if I queue a V2 that includes the script in the message, Augie? > _______________________________________________ > Mercurial-devel mailing list > Mercurial-devel@mercurial-scm.org > https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel