diff hgext/convert/git.py @ 34164:edac06f3f46d

configitems: register the 'convert.git.skipsubmodules' config
author Boris Feld <boris.feld@octobus.net>
date Fri, 30 Jun 2017 03:34:32 +0200
parents ed3ff1df715f
children 671aba341d90
line wrap: on
line diff
--- 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]