# HG changeset patch # User Boris Feld # Date 2017-06-30 01:36:36 # Node ID b888787205269c1a18e85b198ff4616e5d3ae6ce # Parent 52cbbd28cb2ad08a4c6e54c75818ca95c9b53872 configitems: register the 'convert.svn.debugsvnlog' config diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -103,6 +103,9 @@ configitem('convert', 'p4.startrev', configitem('convert', 'skiptags', default=False, ) +configitem('convert', 'svn.debugsvnlog', + default=True, +) # Commands definition was moved elsewhere to ease demandload job. diff --git a/hgext/convert/subversion.py b/hgext/convert/subversion.py --- a/hgext/convert/subversion.py +++ b/hgext/convert/subversion.py @@ -1059,7 +1059,7 @@ class svn_source(converter_source): 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()