D6704: config: add defaultvalue template keyword

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sun Aug 25 19:38:19 EDT 2019


yuja added a comment.


  >   `hg config -T '{defaultvalue}'` shows a bunch of entries like `<object object at 0x7fc4295c00f0>`, which is clearly not something we want to show the user. Also `hg config -T json` crashes for a similar reason (`mercurial.error.ProgrammingError: cannot encode <object object at 0x7fdd1a6a20f0>`).
  
  Yup. That's mostly because of configitems.dynamicdefault.

REPOSITORY
  rHG Mercurial

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

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

To: navaneeth.suresh, #hg-reviewers
Cc: martinvonz, yuja, durin42, mercurial-devel


More information about the Mercurial-devel mailing list