changeset 34735:330d0b582ab3

configitems: fixup default value of diff 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 Fri, 13 Oct 2017 22:08:55 +0200
parents 3572b2031cec
children 25b5787e8dde
files mercurial/configitems.py
diffstat 1 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/configitems.py	Sun Oct 08 21:42:32 2017 +0200
+++ b/mercurial/configitems.py	Fri Oct 13 22:08:55 2017 +0200
@@ -248,34 +248,34 @@
     default=None,
 )
 coreconfigitem('diff', 'nodates',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'showfunc',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'unified',
     default=None,
 )
 coreconfigitem('diff', 'git',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'ignorews',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'ignorewsamount',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'ignoreblanklines',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'ignorewseol',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'nobinary',
-    default=None,
+    default=False,
 )
 coreconfigitem('diff', 'noprefix',
-    default=None,
+    default=False,
 )
 coreconfigitem('email', 'bcc',
     default=None,