diff -r 7ba6b880b09a -r c7ffc53fbd19 hgext/keyword.py --- a/hgext/keyword.py Sat Oct 13 04:21:02 2018 +0300 +++ b/hgext/keyword.py Sat Oct 13 04:24:19 2018 +0300 @@ -430,6 +430,8 @@ def demoitems(section, items): ui.write('[%s]\n' % section) for k, v in sorted(items): + if isinstance(v, bool): + v = stringutil.pprint(v) ui.write('%s = %s\n' % (k, v)) fn = 'demo.txt'