changeset 1069:914e5477b17e

config: register git.debugextrainmessage
author Kevin Bullock <kbullock@ringworld.org>
date Tue, 24 Oct 2017 14:36:17 -0500
parents f4c2b42731ea
children 88db6948a5a8
files hggit/compat.py hggit/git_handler.py
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/compat.py
+++ b/hggit/compat.py
@@ -67,6 +67,7 @@
         'authors': None,
         'blockdotgit': True,
         'branch_bookmark_suffix': None,
+        'debugextrainmessage': False,   # test only -- do not document this!
         'intree': None,
     },
     'hggit': {
--- a/hggit/git_handler.py
+++ b/hggit/git_handler.py
@@ -696,8 +696,8 @@
         # HG EXTRA INFORMATION
 
         # test only -- do not document this!
-        extra_in_message = self.ui.configbool('git', 'debugextrainmessage',
-                                              False)
+        extra_in_message = compat.config(self.ui, 'bool', 'git',
+                                         'debugextrainmessage')
         extra_message = ''
         git_extra = []
         if ctx.branch() != 'default':