Mercurial > hg-git
changeset 1065:78dc28eb4245
config: register git.branch_bookmark_suffix
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 24 Oct 2017 14:22:19 -0500 |
parents | d37336a87b70 |
children | ddae0045de4e |
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 Tue Oct 24 14:18:26 2017 -0500 +++ b/hggit/compat.py Tue Oct 24 14:22:19 2017 -0500 @@ -65,6 +65,7 @@ CONFIG_DEFAULTS = { 'git': { 'blockdotgit': True, + 'branch_bookmark_suffix': None, 'intree': None, }, }
--- a/hggit/git_handler.py Tue Oct 24 14:18:26 2017 -0500 +++ b/hggit/git_handler.py Tue Oct 24 14:22:19 2017 -0500 @@ -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