Mercurial > hg-git
changeset 1064:d37336a87b70
config: register git.intree
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 24 Oct 2017 14:18:26 -0500 |
parents | ae5759bf5bcd |
children | 78dc28eb4245 |
files | hggit/compat.py hggit/git_handler.py |
diffstat | 2 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hggit/compat.py Tue Oct 24 14:14:25 2017 -0500 +++ b/hggit/compat.py Tue Oct 24 14:18:26 2017 -0500 @@ -65,6 +65,7 @@ CONFIG_DEFAULTS = { 'git': { 'blockdotgit': True, + 'intree': None, }, }
--- a/hggit/git_handler.py Tue Oct 24 14:14:25 2017 -0500 +++ b/hggit/git_handler.py Tue Oct 24 14:18:26 2017 -0500 @@ -105,7 +105,7 @@ self.repo = dest_repo self.ui = ui - if ui.configbool('git', 'intree'): + if compat.config(ui, 'bool', 'git', 'intree'): self.gitdir = self.repo.wvfs.join('.git') else: self.gitdir = self.repo.vfs.join('git')