comparison hggit/git_handler.py @ 1064:d37336a87b70

config: register git.intree
author Kevin Bullock <kbullock@ringworld.org>
date Tue, 24 Oct 2017 14:18:26 -0500
parents 0a4b119fb2b4
children 78dc28eb4245
comparison
equal deleted inserted replaced
1063:ae5759bf5bcd 1064:d37336a87b70
103 103
104 def __init__(self, dest_repo, ui): 104 def __init__(self, dest_repo, ui):
105 self.repo = dest_repo 105 self.repo = dest_repo
106 self.ui = ui 106 self.ui = ui
107 107
108 if ui.configbool('git', 'intree'): 108 if compat.config(ui, 'bool', 'git', 'intree'):
109 self.gitdir = self.repo.wvfs.join('.git') 109 self.gitdir = self.repo.wvfs.join('.git')
110 else: 110 else:
111 self.gitdir = self.repo.vfs.join('git') 111 self.gitdir = self.repo.vfs.join('git')
112 112
113 self.init_author_file() 113 self.init_author_file()