configitems: register the 'convert.svn.debugsvnlog' config
authorBoris Feld <boris.feld@octobus.net>
Fri, 30 Jun 2017 03:36:36 +0200
changeset 34177 b88878720526
parent 34176 52cbbd28cb2a
child 34178 0cfa7d9b889c
configitems: register the 'convert.svn.debugsvnlog' config
hgext/convert/__init__.py
hgext/convert/subversion.py
--- a/hgext/convert/__init__.py	Fri Jun 30 03:36:28 2017 +0200
+++ b/hgext/convert/__init__.py	Fri Jun 30 03:36:36 2017 +0200
@@ -103,6 +103,9 @@
 configitem('convert', 'skiptags',
     default=False,
 )
+configitem('convert', 'svn.debugsvnlog',
+    default=True,
+)
 
 # Commands definition was moved elsewhere to ease demandload job.
 
--- a/hgext/convert/subversion.py	Fri Jun 30 03:36:28 2017 +0200
+++ b/hgext/convert/subversion.py	Fri Jun 30 03:36:36 2017 +0200
@@ -1059,7 +1059,7 @@
         args = [self.baseurl, relpaths, start, end, limit,
                 discover_changed_paths, strict_node_history]
         # developer config: convert.svn.debugsvnlog
-        if not self.ui.configbool('convert', 'svn.debugsvnlog', True):
+        if not self.ui.configbool('convert', 'svn.debugsvnlog'):
             return directlogstream(*args)
         arg = encodeargs(args)
         hgexe = util.hgexecutable()