diff mercurial/configitems.py @ 34738:1c9128b735cd

configitems: fixup default value of annotate config option It turned out that configbool is used for most of them so the registered default value was wrong.
author Boris Feld <boris.feld@octobus.net>
date Mon, 16 Oct 2017 15:12:50 +0200
parents 330d0b582ab3
children 54fa3db5becf
line wrap: on
line diff
--- a/mercurial/configitems.py	Mon Oct 16 15:35:08 2017 +0200
+++ b/mercurial/configitems.py	Mon Oct 16 15:12:50 2017 +0200
@@ -104,34 +104,34 @@
     generic=True,
 )
 coreconfigitem('annotate', 'nodates',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'showfunc',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'unified',
     default=None,
 )
 coreconfigitem('annotate', 'git',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'ignorews',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'ignorewsamount',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'ignoreblanklines',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'ignorewseol',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'nobinary',
-    default=None,
+    default=False,
 )
 coreconfigitem('annotate', 'noprefix',
-    default=None,
+    default=False,
 )
 coreconfigitem('auth', 'cookiefile',
     default=None,