##// END OF EJS Templates
configitems: register the 'convert.cvsps.cache' config...
Boris Feld -
r34152:88601009 default
parent child Browse files
Show More
@@ -28,6 +28,13 b' command = registrar.command(cmdtable)'
28 28 # leave the attribute unspecified.
29 29 testedwith = 'ships-with-hg-core'
30 30
31 configtable = {}
32 configitem = registrar.configitem(configtable)
33
34 configitem('convert', 'cvsps.cache',
35 default=True,
36 )
37
31 38 # Commands definition was moved elsewhere to ease demandload job.
32 39
33 40 @command('convert',
@@ -76,7 +76,7 b' class convert_cvs(converter_source):'
76 76 id = None
77 77
78 78 cache = 'update'
79 if not self.ui.configbool('convert', 'cvsps.cache', True):
79 if not self.ui.configbool('convert', 'cvsps.cache'):
80 80 cache = None
81 81 db = cvsps.createlog(self.ui, cache=cache)
82 82 db = cvsps.createchangeset(self.ui, db,
General Comments 0
You need to be logged in to leave comments. Login now