From patchwork Mon Oct 16 13:43:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: configitems: fixup default value of annotate config option From: Boris Feld X-Patchwork-Id: 24986 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Mon, 16 Oct 2017 15:43:44 +0200 # HG changeset patch # User Boris Feld # Date 1508159570 -7200 # Mon Oct 16 15:12:50 2017 +0200 # Node ID b3c7b74f19ba08ef8c2b4056508cc1f287550587 # Parent 330d0b582ab38d35d9d521626e9d039044f38ecd # EXP-Topic config.register.fixup # Available At https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r b3c7b74f19ba 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. diff --git a/mercurial/configitems.py b/mercurial/configitems.py --- a/mercurial/configitems.py +++ b/mercurial/configitems.py @@ -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,