# HG changeset patch # User Kevin Bullock # Date 1508872939 18000 # Node ID 78dc28eb4245b8e492fa63702a10a8d068eb6143 # Parent d37336a87b705ba52dc2419a4f7ed87fb16b4eb8 config: register git.branch_bookmark_suffix diff --git a/hggit/compat.py b/hggit/compat.py --- a/hggit/compat.py +++ b/hggit/compat.py @@ -65,6 +65,7 @@ CONFIG_DEFAULTS = { 'git': { 'blockdotgit': True, + 'branch_bookmark_suffix': None, 'intree': None, }, } diff --git a/hggit/git_handler.py b/hggit/git_handler.py --- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -114,8 +114,8 @@ self.paths = ui.configitems('paths') - self.branch_bookmark_suffix = ui.config('git', - 'branch_bookmark_suffix') + self.branch_bookmark_suffix = compat.config( + ui, 'string', 'git', 'branch_bookmark_suffix') self._map_git_real = None self._map_hg_real = None