Mercurial > hg > hg-git
changeset 1074:03e7c9d1fbb6
config: register git.blockdothg
author | Kevin Bullock <kbullock@ringworld.org> |
---|---|
date | Tue, 24 Oct 2017 14:46:36 -0500 (2017-10-24) |
parents | f7433379c04a |
children | 826363837447 |
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 +++ b/hggit/compat.py @@ -66,6 +66,7 @@ 'git': { 'authors': None, 'blockdotgit': True, + 'blockdothg': True, 'branch_bookmark_suffix': None, 'debugextrainmessage': False, # test only -- do not document this! 'findcopiesharder': False,
--- 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 " +