D6709: config: add --registered flag to show all known configs

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Aug 9 14:46:18 EDT 2019


pulkit added a comment.


  In D6709#98493 <https://phab.mercurial-scm.org/D6709#98493>, @marmoute wrote:
  
  > In D6709#98479 <https://phab.mercurial-scm.org/D6709#98479>, @navaneeth.suresh wrote:
  >
  >> @pulkit I couldn't figure out why the devel-warnings are coming. It's being shown for the following 
  >> items in `configitems.py`. IIUC, it should be visible when we are trying to read a config item which is
  >> not in the registered items.  But, we are iterating over registered items only.
  >
  > There are "generic" config option. So it does not hold the option "name", but a regexp to match valid entry.
  >
  >> @av6 If you have a strong opinion on replacing `True/False` with `yes/no`, I can do that.
  >
  > Not sure is @av6 has a strong opinion, but I do :-)
  
  I don't want to discuss whether `yes/no` are better or `True/False` but when showing the default value, let's show the exact same which is there even though they mean the same?

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6709/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6709

To: navaneeth.suresh, #hg-reviewers, av6, marmoute
Cc: pulkit, marmoute, av6, mjpieters, mercurial-devel


More information about the Mercurial-devel mailing list