# HG changeset patch # User Kevin Bullock # Date 1508873777 18000 # Node ID 914e5477b17ee294de7043081fd849c4971e3ff2 # Parent f4c2b42731ea2b957e99a11c17761b8d1ad35caa config: register git.debugextrainmessage diff -r f4c2b42731ea -r 914e5477b17e hggit/compat.py --- a/hggit/compat.py Tue Oct 24 14:33:12 2017 -0500 +++ b/hggit/compat.py Tue Oct 24 14:36:17 2017 -0500 @@ -67,6 +67,7 @@ 'authors': None, 'blockdotgit': True, 'branch_bookmark_suffix': None, + 'debugextrainmessage': False, # test only -- do not document this! 'intree': None, }, 'hggit': { diff -r f4c2b42731ea -r 914e5477b17e hggit/git_handler.py --- a/hggit/git_handler.py Tue Oct 24 14:33:12 2017 -0500 +++ b/hggit/git_handler.py Tue Oct 24 14:36:17 2017 -0500 @@ -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':