Mercurial > hg
diff tests/test-config.t @ 42705:049b2ac3252e
config: remove pycompat.bytestr() for defaultvalue
This is a follow-up patch to 51a2e3102db2. This removes
`pycompat.bytestr` to preserve `None` in `commands.config()`.
Differential Revision: https://phab.mercurial-scm.org/D6712
author | Navaneeth Suresh <navaneeths1998@gmail.com> |
---|---|
date | Sat, 03 Aug 2019 12:14:34 +0530 |
parents | 51a2e3102db2 |
children | 60789444acd6 |
line wrap: on
line diff
--- a/tests/test-config.t Sat Jul 27 12:19:51 2019 +0530 +++ b/tests/test-config.t Sat Aug 03 12:14:34 2019 +0530 @@ -70,7 +70,7 @@ $ hg showconfig Section.KeY -Tjson [ { - "defaultvalue": "None", + "defaultvalue": null, "name": "Section.KeY", "source": "*.hgrc:*", (glob) "value": "Case Sensitive" @@ -103,7 +103,7 @@ $ hg config empty.source -Tjson [ { - "defaultvalue": "None", + "defaultvalue": null, "name": "empty.source", "source": "", "value": "value"