Mercurial > hg > hg-git
diff hggit/git_handler.py @ 1074:03e7c9d1fbb6
config: register git.blockdothg
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 24 Oct 2017 14:46:36 -0500 |
parents | f7433379c04a |
children |
line wrap: on
line diff
--- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -1609,7 +1609,7 @@ def audit_hg_path(self, path): if '.hg' in path.split(os.path.sep): - if self.ui.configbool('git', 'blockdothg', True): + if compat.config(self.ui, 'bool', 'git', 'blockdothg'): raise hgutil.Abort( ('Refusing to import problematic path %r' % path), hint=("Mercurial cannot check out paths inside nested " +