--- a/hgext/convert/__init__.py Fri Jun 30 03:34:23 2017 +0200
+++ b/hgext/convert/__init__.py Fri Jun 30 03:34:32 2017 +0200
@@ -64,6 +64,9 @@
configitem('convert', 'git.similarity',
default=50,
)
+configitem('convert', 'git.skipsubmodules',
+ default=False,
+)
# Commands definition was moved elsewhere to ease demandload job.
--- a/hgext/convert/git.py Fri Jun 30 03:34:23 2017 +0200
+++ b/hgext/convert/git.py Fri Jun 30 03:34:32 2017 +0200
@@ -261,8 +261,7 @@
lcount = len(difftree)
i = 0
- skipsubmodules = self.ui.configbool('convert', 'git.skipsubmodules',
- False)
+ skipsubmodules = self.ui.configbool('convert', 'git.skipsubmodules')
def add(entry, f, isdest):
seen.add(f)
h = entry[3]