diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -28,6 +28,13 @@ command = registrar.command(cmdtable) # leave the attribute unspecified. testedwith = 'ships-with-hg-core' +configtable = {} +configitem = registrar.configitem(configtable) + +configitem('convert', 'cvsps.cache', + default=True, +) + # Commands definition was moved elsewhere to ease demandload job. @command('convert', diff --git a/hgext/convert/cvs.py b/hgext/convert/cvs.py --- a/hgext/convert/cvs.py +++ b/hgext/convert/cvs.py @@ -76,7 +76,7 @@ class convert_cvs(converter_source): id = None cache = 'update' - if not self.ui.configbool('convert', 'cvsps.cache', True): + if not self.ui.configbool('convert', 'cvsps.cache'): cache = None db = cvsps.createlog(self.ui, cache=cache) db = cvsps.createchangeset(self.ui, db,